Re: [PHP-DB] My first question: PHP won't update MySQL

2001-03-29 Thread Russ Michell
Timothy: Your code uses the out of place, try this and compare it to what you have: Edit Story:"; $sql = " SELECT * FROM story WHERE id='$id' "; result = mysql_query($sql); $myrow = mysql_fetch_array($result); $id = $myrow['id']; $title = $myrow['title']; $body = $myrow['body']; $myvar =

Re: [PHP-DB] My first question: PHP won't update MySQL

2001-03-28 Thread Terry Romine
You don't seem to do an insert with the new data. Terry On Wednesday, March 28, 2001, at 11:19 AM, Timothy D. Arnold wrote: > I believe that the problem is in the following batch of code... > > Thanks, > > Tim > [EMAIL PROTECTED] -- PHP Database Mailing List (http://www.php.net/) To unsubscr

[PHP-DB] My first question: PHP won't update MySQL

2001-03-28 Thread Timothy D. Arnold
Hello, I am new to PHP as well as this list. I have taken another page that does work and tried to modify it to use a new MySQL table ("story"). I haven't made any major changes, but the new page does not work. Here is the page that works: http://phenon.com/nothing/favorite_color.php Here is