[PHP] Troubles Inserting into MYSQL

2002-09-08 Thread Steve Gaas
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) {

RE: [PHP] Troubles Inserting into MYSQL

2002-09-08 Thread Steve Gaas
Parse error: parse error, unexpected T_ECHO in /var/www/html/actionreg/doupdate.php on line 24 Forgot I had that function.. I don't understand the error though.. Steve Gaas Sr. Systems Engineer, Carrier Markets Riverstone Networks 972.668.8329 (follow-me) 877.713.7063 (pager analog dial

RE: [PHP] Troubles Inserting into MYSQL

2002-09-08 Thread Steve Gaas
(); } this is the output You have an error in your SQL syntax near ''user', 'detaildesc', 'index', 'reference', 'date_added') VALUES \'sgaas-wil\', ' at line 1 Steve Gaas Sr. Systems Engineer, Carrier Markets Riverstone Networks 972.668.8329 (follow-me) 877.713.7063 (pager analog dial) [EMAIL

RE: [PHP] Troubles Inserting into MYSQL

2002-09-08 Thread Steve Gaas
.. Steve Gaas Sr. Systems Engineer, Carrier Markets Riverstone Networks 972.668.8329 (follow-me) 877.713.7063 (pager analog dial) [EMAIL PROTECTED] (interactive pager) http://www.rstn.net / Nasdaq: RSTN Wisdom begins in wonder. -Socrates -Original Message- From: Brad Bonkoski [mailto

[PHP] MySQL and Array's REALLY simple question but I'm not GETTING it.. Ugh..

2002-09-06 Thread Steve Gaas
Can anyone tell me what's wrong with my code? All I get output from this is the LAST row of data from my Database. There are 2 rows, how do I make it pull data from all of the rows? It's not going through the loop like it should I need to be able to tell the mysql_fetch_array which row I

RE: [PHP] MySQL and Array's REALLY simple question but I'm not GETTING it .. Ugh..

2002-09-06 Thread Steve Gaas
; } print /table; -Original Message- From: Brad Bonkoski [mailto:[EMAIL PROTECTED]] Sent: Friday, September 06, 2002 3:34 PM To: Steve Gaas Cc: [EMAIL PROTECTED] Subject: Re: [PHP] MySQL and Array's REALLY simple question but I'm not GETTING it .. Ugh.. Well, when you run the command