[PHP] template logic problem

2002-05-13 Thread list peters
hi everyone, This is my first project with php after using cold fusion for the last few years! So far I have been pretty happy with php, but I have a problem with my application logic (not a php problem, but hoping for a sexy solution.) I am using a template system and including different conte

Re: [PHP] template logic problem

2002-05-13 Thread list peters
HI miguel, thanks for your answer. I was hoping i could do something like you suggested. Cold Fusion has a tag called that will include anything within the tags. You can call this function even on the last line of your php template. I used this a lot. Has anyone written a function like thi

Re: [PHP] make hitting enter in a text box =

2002-05-13 Thread list peters
hi, i use nl2br($string) which replaces carriage returns with breaks on the output page chad > I have a simple script for a newsletter, with a text area box for someone to > type in their newsletter. Is it possible to make it so when someone hits > enter with the text box it will equal ? > >