Thread: Easy Script
View Single Post
Old 06-12-2005   #1 (permalink)
Space Cowboy
Registered User
 
Space Cowboy's Avatar
 
Join Date: May 2005
Location: England (South)
Posts: 40

Easy Script

This might sound a realy stupid question but i cant get my head around it! Im tryin to set ALL the values for the colum logedin to 0, im ussing the bellow script but it not working, can some one point me in the right direction, thanks!

Code:
<?php

include 'config.php';
$do = mysql_query("UPDATE Finnal_Users SET Logedin = 0 WHERE username='username' LIMIT 1") or die(mysql_error());
mysql_close($l);
?>
__________________
Space Cowboy

Thanks for all the help here guys!
Space Cowboy is offline