Re: Variables changes their values
| From: | Jason Wong | Date: | Tue, 03 Jun 2003 22:14:24 +0000 |
| Subject: | Re: Variables changes their values | ||
| References: | 1 2 3 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-149970@lists.php.net to get a copy of this message | ||
> Yep, its a bad paste :) The script is error-free...
> But there is no code that change the variable and it still get changed.
> Eg. it change from 75497 to 6894
In order of increasing probability:
- you can attribute it to black magic
- you've hit upon a php bug
- there's something wrong with your code
Assume that there's something wrong with your code, you can do one of the
following:
- step through it with a debugger to see where $lid changes
- remove code from it until $lid doesn't change
- echo $lid after everything statement/line in your code
--
Jason Wong -> Gremlins Associates -> www.gremlins.biz
Open Source Software Systems Integrators
* Web Design & Hosting * Internet & Intranet Applications Development *
------------------------------------------
Search the list archives before you post
http://marc.theaimsgroup.com/?l=php-general
------------------------------------------
/*
You may have heard that a dean is to faculty as a hydrant is to a dog.
-- Alfred Kahn
*/