Jump to content

[SOLVED] MYSQL query problem :S


mofm

Recommended Posts

im making a website and i want the websit to track its users ie what page they are on how many are online etc etc  and iv done most of this code it just that a qurey is being a pain in my arse can i get some help please ?

 

this is my mysql query:

 

UPADTE usersonline SET member='y' refurl='http://localhost/25%20march%2008/' userid='1' currentpage='/25 march 08/test.php' activity = now() WHERE ipaddress ='127.0.0.1'

 

this is the error that i recive from PHP myadmin 

 

 

Error

 

SQL query:

 

UPADTE usersonline SET member = 'y'refurl = 'http://localhost/25%20march%2008/'userid = '1'currentpage = '/25 march 08/test.php'activity = now( ) WHERE ipaddress = '127.0.0.1'

 

MySQL said: Documentation

#1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'UPADTE usersonline SET member='y' refurl='http://localhost/25%20march%2008/' use' at line 1

 

 

I thank you for reading and i hope you can come up with a soloution to this tahnks MOFM

Link to comment
https://forums.phpfreaks.com/topic/101553-solved-mysql-query-problem-s/
Share on other sites

Archived

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

×
×
  • 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.