List Info

Thread: Re: php sql UPDATE issues




Re: php sql UPDATE issues
user name
2008-02-22 21:39:35
Hii

Ur query has been correct..if u send full code or database design . i will try to check wher is error. 

bye

On 23/02/2008, justradar < justradargmail.com">justradargmail.com> wrote:

i'm a noob with sql, please help.

anything wrong syntax-wise with this?

$update_query = "UPDATE contact SET name = '";.$name.&quot;', email = '";.
$email.&quot;', subject = '";.$subject."', message = '";.$message."' WHERE id
= '";.$id.";' ";
mysql_query($update_query);

i have not been able to get the UPDATE command to work. obviously,
there's a lot more that could be wrong, i thought i'd start with
syntax, lest any typos were creating a problem.

thnks





--
♥ <º))))><.·´¯`·. ¯|¯hê ßÕ§§ Thãñj襧¸.·´¯`·.¸><((((º&gt;♥

•°¤*(¯`°(ßåch飨® Õƒ §oftwÃ¥&reg;ê §è®v좣)°´¯)*¤°•
--~--~---------~--~----~------------~-------~--~----~
This group is managed and maintained by the development staff at 360 PSG. An enterprise application development company utilizing open-source technologies for todays small-to-medium size businesses.

For information or project assistance please visit :
http://www.360psg.com

You received this message because you are subscribed to the Google Groups "Professional PHP Developers" group.
To post to this group, send email to Professional-PHPgooglegroups.com
To unsubscribe from this group, send email to Professional-PHP-unsubscribegooglegroups.com
For more options, visit this group at http://groups.google.com/group/Professional-PHP
-~----------~----~----~----~------~----~------~--~---

[1]

about | contact  Other archives ( Real Estate discussion Medical topics )