Jump to content

Some Question(ajax)


ahmadkavand
 Share

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

Edited by ahmadkavand
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

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...