Current location: Hot Scripts Forums » General Web Coding » JavaScript » Ajax....changing values of php variables


Ajax....changing values of php variables

Reply
  #1 (permalink)  
Old 08-08-07, 11:09 PM
sushi4664's Avatar
sushi4664 sushi4664 is offline
Aspiring Coder
 
Join Date: Apr 2007
Location: USA
Posts: 411
Thanks: 0
Thanked 0 Times in 0 Posts
Ajax....changing values of php variables

I am assuming that Ajax is a part of JavaScript right? (I have never done ajax before)...

But I need a way to change values of php variable.....im not looking for a script necessarily but a good tutorial that can guide me.....
__________________
- sushi
Visit http://napkinz.com/index.php - web comic that is update weekly

-ps: got through the archive...there are really funny comics in there....
Reply With Quote
  #2 (permalink)  
Old 08-09-07, 12:04 AM
mab's Avatar
mab mab is offline
Community VIP
 
Join Date: Oct 2005
Location: Denver, Co. USA
Posts: 2,674
Thanks: 0
Thanked 0 Times in 0 Posts
This link does a pretty good job of explaining and there are a couple of examples using PHP on the server side - http://w3schools.com/ajax/default.asp

Basically, a http request is made to a URL (ie. yourscript.php). It is up to the server side code to receive any post/get data that is sent and change any variables. It is not possible to change any variables directly (unless you have register globals on.)
__________________
Error checking, error reporting, and error recovery. If your code does not have these to get it to tell you why it is not working, what makes you think someone in a programming forum will be able to tell you why it is not working???
Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
For Hire (3 years exp.): Looking for Php, Mysql, AJAX, JavaScript, HTML, XML Barkat Job Offers & Assistance 1 09-25-07 04:15 PM
[For Hire] PHP, Mysql, ASP, AJAX programer t_narendra Job Offers & Assistance 2 05-21-07 09:35 AM
changing the way this php prints out pkcidstudio PHP 3 05-10-06 03:33 PM
PHP Code Help matt001 PHP 2 05-22-04 11:26 PM
Changing values of another page zerutal ASP.NET 1 05-04-04 05:34 AM


All times are GMT -5. The time now is 11:30 PM.
vBulletin® Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.