--- "Horatio B. Bogbindero" <[EMAIL PROTECTED]>
wrote:
> 
> does anybody know how to insert a record into a
> php database. the
> documentation only specifies measures for
> retrieval of data.
> 
> help!
> 
> 
sorry.  i cant help you. i know how to insert records
in mysql database but not in php database. :)

hth.
ina patricia





 > <?
> > ..... your HTML headers here
> > 
> > MYSQL_CONNECT($hostname, $squidusername,
> $squidpassword) or die("Unable to
> > connect to database");
> > @MYSQL_SELECT_DB("$squiddatabase") or DIE("Unable
> to select database");
> > 
> > $QueryString = "INSERT INTO $tempsquidtable
> (username, oldpasswd, newpasswd,
> > vnewpasswd) VALUES ('$logged_user',
> password('$oldpasswd'),
> > password('$newpasswd'),password('$vnewpasswd'))";
> > 
> > $SQL_Result = MYSQL_QUERY($QueryString);
> > 
> > ... your own actions here
> > 
> > ?>
> > 
> oo nga no. hmmm. kulang lang ako ng common sense
> minsan. hehehe. and i
> very well know what this file is all about!
>  
> ---------------------
> [EMAIL PROTECTED]
>  
> A rolling stone gathers momentum.
>  
> 
> 
> -
> Philippine Linux Users Group. Web site and archives
> at http://plug.linux.org.ph
> To leave: send "unsubscribe" in the body to
[EMAIL PROTECTED]


__________________________________________________
Do You Yahoo!?
Send instant messages with Yahoo! Messenger.
http://im.yahoo.com/

-
Philippine Linux Users Group. Web site and archives at http://plug.linux.org.ph
To leave: send "unsubscribe" in the body to [EMAIL PROTECTED]

Reply via email to