RE: [PHP] Troubles Inserting into MYSQL

2002-09-08 Thread Steve Gaas
or print mysql_error(); } inserts perfectly.. 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.&quo

RE: [PHP] Troubles Inserting into MYSQL

2002-09-08 Thread Steve Gaas
7;,\'\',\'$row_num\',\'$last_update\'", $sql4) or print mysql_error(); } this is the output You have an error in your SQL syntax near ''user', 'detaildesc', 'index', 'reference', 'date_added') VAL

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

[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) { mysql_query("

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

2002-09-06 Thread Steve Gaas
for ($counter=0; $counter < $query_sql2_rows; $counter++) { $tabledata = mysql_fetch_array($top_level); echo "$tabledata[0]"; echo "$tabledata[6]"; echo "$tabledata[2]"; echo "$tabledata[3]"; echo ""

[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 w