in reply to Re: Return a value
in thread Return a value
True dat. Take the $time to type the extra characters now and you will save ($time * 10) in debugging later.
Especially now that you have discovered a good way to keep your parameters in an external ini file. The lines in that file are free! You should fill that file up with one entry per SQL statement and use the right one for each task.
As the poster above said, making dynamic SQL statements is as dangerous as making soft references (variable names made from variable values in your program).
The only thing that should be dynamic in your SQL statements is the bind placeholder(s).
Slow down, and do it right!
|
|---|