Hello,

My code below always dies!  I've tried just about every iteration of the
values, etc..  Can anybody show me how to insert into MySQL a value?

"INSERT INTO events ('user','detaildesc') VALUES ('$user','$details')"

I just don't get it!


if ($update_type == update_Williams) {
mysql_query("INSERT INTO events ('user', 'detaildesc', 'index', 'reference',
'date_added') VALUES (\'$cookiewho\',
\'$add_Williams\',\'\',\'$row_num\',\'$last_update\')", $sql4)
        or die ("could not do update");
        }

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to