RE: [PHP-DB] Updating multiple forms

2001-04-18 Thread SOHH Administration
Basically you write multiple query statements. Like so: $query_updatetable1 = "UPDATE table1 SET fieldname WHERE fieldname = x"; $result_updatetable1 = mysql_query($query_updatetable1); $query_updatetable2 = "UPDATE table2 SET fieldname WHERE fieldname = y"; $result_updatetable2 = mysql_query

[PHP-DB] Moving The Pointer In An Array

2001-04-16 Thread SOHH Administration
Lets say you have and array called $contentarray which contains the following values in this order: 10,19,9,8,234,3 These values represent the articleID. So if a person was on my site reading an article the url would look like so: http://website.com/read.php?articleID=8 So, the article the user