Ahmad Nabeel
Ahmad Nabeel

Reputation: 71

Why %24 is showing in URL

Why %24 is showing in the URL http://localhost/sdbms/addAttendance.php?%24att_nu_status+1=A&%24att_nu_status+2=A&att_update_button=Updated

And I am unable to get values of att_nu_status :( it is the names of a text box generated by for loop on $i as " name="$att_nu_status ">

I wanted to get the updated value $att_candidate_status is showing in the text box for default

Upvotes: 7

Views: 29800

Answers (1)

Sarfaraz Khan
Sarfaraz Khan

Reputation: 2186

When you send a request over http some of the special characters are replaced with some other characters this is known as HTTP URL encoding and at the server side it is then again decoded. %24 is the Url encoded character for $. Check if the request that you are doing is correct as in the url I can see att_nu_status+1=A att_nu_status+2=A.

Upvotes: 12

Related Questions