Re: [PHP-DB] Variable Variable Array

2005-03-10 Thread Evert | Rooftop Solutions
Ryan Jameson (USA) wrote: Hi Folks, I've been using "variable variables" for years with PHP. I'm not really sure this is really good practice. Sure, php allows it but I think you should try to avoid them. $var = "myVarName"; $$var = "Some Val"; echo $myVarName; //outputs "Some Val" Today

Re: [PHP-DB] Variable Variable Array

2005-03-10 Thread Evert | Rooftop Solutions
Ryan Jameson (USA) wrote: Dynamic Variable sounds good. :-) I use them all the time, and they are often necessary. Probably not in this case though, I like to throw them in to confuse the newbs.. :-) J/K Try regular expressions, it confuses them even more :) Anyway, could you point me to a situa

Re: [PHP-DB] Query that generates href links

2005-03-20 Thread Evert | Rooftop Solutions
John Burroughs wrote: Hi everyone, I've created a database for my poetry that I've written. I have a table called Titles. It is made up of: [snip] How can I do this. Everytime I tried adding to the above code, I kept getting error messages in php saying that there was an unexpected '>'character