hi,
        
> I can't the UPDATE command in MySQL to work properly.  Here is my
> query....
>  
> $query = "update table set lastname=$lastname, firstname=$firstname
                    ^^^^^
                          replace table with <table name>           

> where username=$username";

      ($lastname, $firstname, $username ) should be enclosed by quotes, if
all the fields are character.
 
>  
> Anything wrong with my syntax here?  

Goodluck........!

cheers,
kishor
Nilgiri Networks.


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to