On Tue, 2003-11-25 at 10:24, [EMAIL PROTECTED] wrote:
> However the following (see quotes below) still does not work.
>
> Any ideas?
>
> Thanks in Advance,
> Ted
>
>
What is the output of the php subroutine mysql_error() when used after
your db calls?
http://us2.php.net/manual/en/function.my
><
BR >";
echo "< SELECT NAME=\"current_system\" >";
while ($row=mysql_fetch_array($mysql_result))
{
$system_type=$row["system_type"];
# display results
echo "< OPTION >$system_type";
}
echo "< /SELECT >";
} # end els
}
echo "< /SELECT >";
} # end else
echo "< BR >< BR >";
echo "< INPUT TYPE=\"SUBMIT\" VALUE=\"Add the new System\" >";
echo "< BR >< BR >< INPUT TYPE=\"RESET\" VALUE=\"Clear me!\" &
else
echo "< BR >< BR >";
echo "< INPUT TYPE=\"SUBMIT\" VALUE=\"Add the new System\" >";
echo "< BR >< BR >< INPUT TYPE=\"RESET\" VALUE=\"Clear me!\" >";
mysql_close($connection);
?>
< /FOR
There could be a number of things going on.
It would help troubleshoot your problem if your
script check for errors and print them if there are any. You cant
just assume a connection is being made just because phpmyadmin connects.
Your web app has to make its own connection.
So how about showing
[EMAIL PROTECTED] wrote:
I hope someone might be willing to help out.
I'm trying [still] to learn MySQL and php - to create some simply web
based database.
I have installed quite a few php/MySQL web database apps from books,
however, none of them will get data entered into my database.
When I
I hope someone might be willing to help out.
I'm trying [still] to learn MySQL and php - to create some simply web
based database.
I have installed quite a few php/MySQL web database apps from books,
however, none of them will get data entered into my database.
When I create the database exact