Re: [PHP] Stupid is as Stupid does

2009-02-26 Thread Sudheer
Michael A. Peters wrote: If variable is an integer, die($var) returns nothing and is suppose to return nothing, it takes a string as an argument to echo on death - die("$var") is what I wanted. I often use to debug and print the value of the variable. xDebug adds nice formatting to var_dum

[PHP] Stupid is as Stupid does

2009-02-26 Thread Michael A. Peters
As my web app is coming to completion, I added a means to search records (different from site search). This involves reading post input and is many cases converting it to an integer. Damn I feel dumb. The search app wasn't working, so I did what I often do when troubleshooting crap - I put