I have a database with 5 columns and cols 1,2,3 & 5 are filled.  I want 
to insert into 4 and change 5.  Could I use an UPDATE command to do 
this..  Here is what I have ==>

$query = "UPDATE mpn_asklee (Reply, Post) VALUES
        ('$Reply[$i]', '$post[$i]') WHERE ID = '$counts'";
$result = mysql_query($query);

If Im talking jibberish, let me know..

PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to