You are here: Re: My function returns true but my code does not execute « PHP Programming Language « IT news, forums, messages
Re: My function returns true but my code does not execute

Posted by John Moore on 10/31/05 17:11

On 31 Oct 2005 06:58:49 -0800, in comp.lang.php "Ian B"
<ianbambury@gmail.com> wrote:

>Another thought...
>
>Have you actually got an about_id equal to 5 (or whatever) because if
>you haven't, then the query will not raise an error but also not update
>anything.
>
>and is about_id numeric? (Off the top of my head, I'm not sure what
>you'd get if it was a VARCHAR, but it's easier for you to check than
>for me to test :-)
>
>Ian

Hi Ian,

All the id fields are int.

But I just found a problem with my global variable at the beginning of
the function. I'm going to get rid of it and try to add that variable
as a parameter.

I think the update is running, it's the variable that isn't changing.

Thanks again,


J Moore

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация