[PHP] quotes again finally got it right

2003-06-25 Thread Lso .
ok thanks for putting up with me. it works just fine if i use \" instead of single quotes in the html that the php is generating. thanks again. i think i finaly got it. Lucas Owens www.lucasowens.com www.technoiraudio.com _ The n

[PHP] quotes

2003-06-25 Thread Lso .
ok i see why i didnt work but i dont know why. can anyone tell me why this works: but this doesn't: echo ""; Lucas Owens www.lucasowens.com www.technoiraudio.com _ Add photos to your e-mail with MSN 8. Get 2 months FREE*. htt

Re: [PHP] quotes

2003-06-25 Thread Lso .
im stupid. it works. so sorry. htmlentities did the trick. i had a chunk of code lingering from a former attempt at fixing it that screwed it all up. thanks again everyone. Lucas _ The new MSN 8: advanced junk mail protection

Re: [PHP] quotes

2003-06-25 Thread Lso .
here ya go: function dbconnect(){ $dbh=mysql_connect ("**", "**", "**") or die ('I cannot connect to the database because: ' . mysql_error()); mysql_select_db ("**"); } $dbname = "***"; $urlname = "parteditlists.php"; function drawtable2($id, $company, $division, $contact, $

Re: [PHP] quotes

2003-06-25 Thread Lso .
go ahead an try it. the quote is quite clearly in the database, but when i try to put it back in a form field everything is cut off after the quote. and i tried stripslashed, and htmlentities, and htmlspecialchars. i would turn magic quotes on, but im afaid it might mess something else up. th

Re: [PHP] quotes

2003-06-25 Thread Lso .
it doesnt work, i just tried it. the text is still cut off after the quote Just try htmlentities()! A textarea is for multiple lines of text! _ Tired of spam? Get advanced junk mail protection with MSN 8. http://join.msn.com/?pag

Re: [PHP] quotes

2003-06-25 Thread Lso .
Thanks everyone. Honestly I tried so many things that Im not sure exactly what combinations I tried. The textfield trick works, and I so sick of looking at this script Im moving on. Ill try something else the next time around. Thanks again for all of the excellent fast help!! Lucas Owens ww

Re: [PHP] quotes

2003-06-25 Thread Lso .
understood. thanks for the help. Lucas Owens www.lucasowens.com www.technoiraudio.com From: Adam Voigt <[EMAIL PROTECTED]> Reply-To: [EMAIL PROTECTED] To: "Lso ." <[EMAIL PROTECTED]> CC: [EMAIL PROTECTED] Subject: Re: [PHP] quotes Date: 25 Jun 2003 10:47:56 -0400 Caus

Re: [PHP] quotes

2003-06-25 Thread Lso .
Does anyone know why this works this way? seems kinda odd that a textarea will display it correctly but a normla field will not. Try a textarea. Example: Lucas _ Tired of spam? Get advanced junk mail protection with MSN 8. http://

Re: [PHP] quotes

2003-06-25 Thread Lso .
Yes!! You are the man! It works! Thank you all for the fast response. Lucas Owens www.lucasowens.com www.technoiraudio.com Try a textarea. Example: _ The new MSN 8: advanced junk mail protection and 2 months FREE* http://join.msn

[PHP] quotes

2003-06-25 Thread Lso .
Ok I have been searching to no avail. I have a form that lets you add new sets of information to a database. Once you add information i have a page that displays this information in a series of text fields. I have done this so you can alter the information in the fields hit edit and the info