0

How to accept users value in php??

suppose i have to peform swapping of two numbers by taking users input . so what will be the simple code??

19th Apr 2017, 4:27 PM
Vijay Mhaske
Vijay Mhaske - avatar
4 Respuestas
+ 3
what's your code so far? where exactly are you stuck?
19th Apr 2017, 4:30 PM
Mario L.
Mario L. - avatar
+ 3
see the php form example on w3schools.com: it includes input filtering and validation.
19th Apr 2017, 5:48 PM
seamiki
seamiki - avatar
+ 1
you should use the html form to get an input like this exemple https://code.sololearn.com/w51NO7XRDTA5/?ref=app
20th Apr 2017, 3:33 AM
Elghozi Nasreddine
Elghozi Nasreddine - avatar
0
yet i haven't written any code.. i was revising c++ . so during the revision this question arised in my mind.
19th Apr 2017, 4:42 PM
Vijay Mhaske
Vijay Mhaske - avatar