In message <[EMAIL PROTECTED]>, Jim Tyler <[EMAIL PROTECTED]>
writes
>--- In [email protected], Pete <[EMAIL PROTECTED]> wrote:
>>
>> In message <[EMAIL PROTECTED]>, Jim Tyler <[EMAIL PROTECTED]>
>> writes
>> >So clearly the where clause is not picking up a value from '$_POST
>[bird_id]'. 
>> >I've tried every variant I can think of so the right 
>> >side of the where clause resolves to a value to no avail. At this 
>point, nearly 
>> >any suggestion is welcome.
>> 
>> If the value is not entering your second page - perhaps it isn't 
>leaving
>> the first page.
>> 
>> How about 
>> <input type=hidden name=bird_id value='$bird_id'>
>> just before your submit button.
>> 
>> And I would put a temporary
>> echo $edit_bird;
>> just before the 
>> mysql_query($edit_bird,$conn) or die(mysql_error());
>> just to be sure what you are getting.
>> 
>> -- 
>> Pete Clark
>> 
>> http://www.hotcosta.com
>> http://www.spanishholidaybookings.com
>
>Pete -
>
>Yup - that nailed it. Thank you VERY much. Now all I have to do is 
>spend some time thinking abut exactly why bird_id, which I still 
>think SHOULD be defined, is not.

Going off memory, something about WHEN the value is assigned to the
variable - I *think* that you assumed that the value was already
assigned when the page was originally created.

>
>Jim Tyler

-- 
Pete Clark

http://www.hotcosta.com
http://www.spanishholidaybookings.com




The php_mysql group is dedicated to learn more about the PHP/MySQL web database 
possibilities through group learning.  
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/php_mysql/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 


Reply via email to