You are here: Re: Decrementing a number... « All PHP « IT news, forums, messages
Re: Decrementing a number...

Posted by Sander on 10/13/21 11:27

> Reasons the database won't update might be? (Places is set as an integer)
>
> plato
>
>

Plato,

I used $row['number'] in my example but your fields are named differently in
your database. You should rename them to $row['course']

I guess that will solve the problem. You can do an extra check and add this
line right before the update query:
print("Debug: $course<br>");

Adding this line will show you if the "where" part of the query will be
filled and the query can be executed succesfully.

Hope it helps.

Sander

 

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

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