Re: [PHP] RE: MySQL Results Not Being Committed To Database

2004-07-03 Thread Torsten Roehr
"John W. Holmes" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > >> $query = mysql_query($sql); > >> $mysql_result = mysql_query ($sql, $Connection) or die ("Invalid > >>Query - " . mysql_error()); > > You're running the query twice. Take out that first line. Michael, that's where y

Re: [PHP] RE: MySQL Results Not Being Committed To Database

2004-07-03 Thread John W. Holmes
$query = mysql_query($sql); $mysql_result = mysql_query ($sql, $Connection) or die ("Invalid Query - " . mysql_error()); You're running the query twice. Take out that first line. And I second the recommendation to please reply to the list and not individuals unless they request it. -- --

[PHP] RE: MySQL Results Not Being Committed To Database

2004-07-03 Thread Torsten Roehr
> Torsten > > I managed to work through it and this is the code: > > $NewUserID=$_POST['TXT_UserID']; > $NewUserPassword=$_POST['TXT_UserPassword']; > $NewUserComments=$_POST['TXT_Comments']; > $NewUserFurtherComments=$_POST['TXT_F