Re: simple question abt convert to integer
| From: | Bálint Horváth | Date: | Wed, 25 May 2011 05:27:53 +0000 |
| Subject: | Re: simple question abt convert to integer | ||
| References: | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-313145@lists.php.net to get a copy of this message | ||
Problem solved succesfully after changed the query integer apostrofyless..
and printed the mysql_errno() and mysql_error()...
Remember:
-In the script languages as php the apostrofy ' or " or sg. like these means
the string marker...
-While ure developing show all error codes and messages...
-If ur query contains errors u'll not get the resource id to use just a
false boolean...
-..and always check u don't have empty variables... :D
Let's ride PHP!
Bálint Horváth
(Valentine)
On 25 May 2011 06:57, "Negin Nickparsa" <nickparsa@gmail.com> wrote:
> :D
> tnx very much
> *Notice*: Undefined variable: query in *D:\phpweb\Doctor.php* on line *45*
> 1065:Query was empty