Jump to content

[SOLVED] I am new in PHP and AJAX can someone help me to solve my problem???


merck_delmoro

Recommended Posts

Well, you're definetly going to be using PHP and AJAX...

 

If you have no code written yet I'd recommend hitting some tutorials,

  • PHP
  • MySQL
  • jQuery

Then get specific with login scripts, basic cms (a form to update a database). Then attempt this project and come back when you get stuck :)

 

Oh, and by the way, you'll need a javascript timer to execture a call every x seconds to keep checking if the database has changed! (just remember)

Link to comment
Share on other sites

Oh, and by the way, you'll need a javascript timer to execture a call every x seconds to keep checking if the database has changed! (just remember)

execture ... :D

 

It sounds like a timer is hard to write,  but it's really just a call to a JavaScript function.

Link to comment
Share on other sites

Oh, and by the way, you'll need a javascript timer to execture a call every x seconds to keep checking if the database has changed! (just remember)

execture ... :D

 

It sounds like a timer is hard to write,  but it's really just a call to a JavaScript function.

 

yup, just one simple line;

 

timer = setTimeout('aFunction();',2000);

Link to comment
Share on other sites

yup, just one simple line;

 

timer = setTimeout('aFunction();',2000);

Wrong! Well I guess it depends on aFunction(), but care to try again? :D

 

Care to explain to me why that's wrong?

 

That little bit of javascript will call a function called aFunction() every 2 seconds.....

 

I wonder how that's wrong??

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.