"Piotr Dubla" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]...
> I have a script which accessed a database (MySQL) and reads and wrties
> things to it. The first time I run the script everything runs 100% but
> then if I re-run it it gives me
>
> Fatal error: Unsupported operand types in
> /usr/local/apache/htdocs/debit.php on line 51
>
> Now at line 51 there is a statement which says $day1 = $day1 - 1;

try $day1--;

Steve

>
> What is going on? Anybody have any ideas
>
> Piotr Dubla
> -= Networld =-
>
>



-- 
PHP Database 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