Jump to content

Some Question(ajax)


ahmadkavand

Recommended Posts

Hi.Thanck for answer.I dont understand you answer.i understand English not very well.Please go to this address. (http://www.w3schools.com/ajax/ajax_source.asp)Please go to AJAX PHP example.Look to this command$q=$_GET["q"];In this command I don’t understand "q"In our form at that address, we don’t have any field with name q. What's q?What is hint?Thanks from all

Link to comment
Share on other sites

1. It's a URL parameter. You'll notice that once the string is concatenated, it turns into

gethint.asp?q=p

(assuming you've typed "p" into the form)Which is then resolved to this:http://www.w3schools.com/ajax/gethint.asp?q=p(open it up in your browser, and you'll see the result is the same as if you type "p" in the form)2. What second address?I'd reccomend XAMPP.

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...