[PHP] text areas and line brakes

2005-06-21 Thread Sunny Boy
if someone writes something in a text box, how would I convert a line 
break in the text area to echo a ? I think i'll have to get the \n 
and convert it. can anyone tell me?


Thanks.

sunny

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[suspicious - maybe spam] [PHP] [suspicious - maybe spam] Re: [suspicious - maybe spam] Need advice or code

2005-08-27 Thread Sunny Boy

Death Gauge wrote:
I've made a site with 5 sites in it and has about 6 MySQL/PHP News 
databases. A while back I tried to use drop-down combo boxes to make a 
single page that linked all 6 news scripts so I could pick one from the 
drop-down enter the news and hit submit to add it to the site. The down 
side is that it didn't work and deactivated the submit button. Is there 
a way to make a drop-down combo box so that when I pick the item name it 
loads the said page under the combo box and then lets you submit and 
pick another one if you need to post to another database. I have 6 
scripts that post to each database. Any help, code, or advice would be 
greatly appreciated.


--Death Gauge
"How do you gauge your death?!"

_
Express yourself instantly with MSN Messenger! Download today - it's 
FREE! http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/



Maybe try a bit of XmlHTTPRequest and some Javascript. When the first 
item is selected (and maybe a submit button is pressed) it goes to the 
XmlHTTPRequest script, gets the data from a php script and echos the 
output. I'm only a beginner on XmlHTTPRequest, so I can't help you 
code-wise. Sorry.


--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php