Re: [PHP] Re: Newbie Variable Question

2005-03-09 Thread Jackson Linux
Jochem and everyone, Thanks, this solved the problem. Regarding someone's much appreciated comment: [this]...allows any user to simply change the value of "r" to something more to their liking. given the reset of the code that you included in your first message, who knows what nice holes they'll f

Re: [PHP] Re: Newbie Variable Question

2005-03-09 Thread Jochem Maas
Jackson Linux wrote: On 9 Mar 2005, at 11:15, Jason Barnett wrote: Jackson Linux wrote: ... asks for cv.'1'.include.php ... And I need it to ask for cv.1.include.php How can I make a variable to fetch the literal number from the field cv.category? Not 100% certain that it will work, but try casti

Re: [PHP] Re: Newbie Variable Question

2005-03-09 Thread Jackson Linux
On 9 Mar 2005, at 11:15, Jason Barnett wrote: Jackson Linux wrote: ... asks for cv.'1'.include.php ... And I need it to ask for cv.1.include.php How can I make a variable to fetch the literal number from the field cv.category? Not 100% certain that it will work, but try casting the variable $r to

[PHP] Re: Newbie Variable Question

2005-03-09 Thread Jason Barnett
Jackson Linux wrote: ... > asks for > cv.'1'.include.php ... And I need it to ask for cv.1.include.php > > How can I make a variable to fetch the literal number from the field > cv.category? Not 100% certain that it will work, but try casting the variable $r to an integer: > > Thanks in advanc