[PHP-DB] MySQL/PHP Form & Addslashes() command

2001-01-25 Thread James Smith
d the NULL spots to make it a new paragraph when you open this row in a page. How do I get that to work... Thank You, James Smith __ Do You Yahoo!? Yahoo! Auctions - Buy the things you want at great prices. http://auctions.yahoo.com/ -- PHP Dat

[PHP-DB] .htpasswd?

2001-01-31 Thread James Smith
Is there a way that when a user signs up for a user/pass on a site, to automatically update the .htpasswd on the site? Right now I'm running a Win2k Pro, with Apache installed and MySQL/PHP. Thanks, James __ Get personalized email addresses fro

Re: [PHP-DB] question ! show binary

2001-01-31 Thread James Smith
The way you have it now, ur just storing the path to the gif. from the form field, use then in the insert area use: $result = mysql_query("insert into (filename) VALUES ('$file')") James --- Yui Hiroaki <[EMAIL PROTECTED]> wrote: > HI! > > I am using PHP in mySQL. I create table in datab

[PHP-DB] newlines in boxes..

2001-02-01 Thread James Smith
Alright, on my site, I have a news section, whenever i goto insert new news in the Admin area, I have to insert or /n in it, while typing in the news. How do I make this a automated process I know it can be done, but addslashes doesn't work and htmlspecailchars() doesn't work what will? Thank