> >
> > does anybody know how to insert a record into a php database. the
> > documentation only specifies measures for retrieval of data.
> >
> > help!
> >
>
> <?
> ..... 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]