Hi,
Thanks.
I see it, I get it, it makes sense. But it seems like overkill.
So what version did this become necessary in?
> http://php.net/isset
New server, new version. Or I had errors turned off on the old server.
Thanks!
John
elseif (
(isset($_POST["number"])) and (isset($_POST["submitter"
Now I get it. Must be the version change?
Richard Lynch a écrit:
On Fri, May 19, 2006 6:08 pm, John Taylor-Johnston wrote:
Any idea why this bit of code
if("yes" == $_POST['submitter'])
{
is provoking this message in my Apache error log?
[Fri May 19 19:05:10 2006] [error] PHP Notice: Und
On Fri, May 19, 2006 6:08 pm, John Taylor-Johnston wrote:
> Any idea why this bit of code
>
> if("yes" == $_POST['submitter'])
> {
> mysql_select_db($db,$myconnection);
>
> $sql = "INSERT INTO `$db`.`$table`
> (name,email,comments,entrydate)
> values ('$name','$email','$comments','$entr
John Taylor-Johnston wrote:
Any idea why this bit of code
if("yes" == $_POST['submitter'])
{
mysql_select_db($db,$myconnection);
$sql = "INSERT INTO `$db`.`$table`
(name,email,comments,entrydate)
values ('$name','$email','$comments','$entrydate')";
mysql_query($sql) or die(print mys
2006/5/19, John Taylor-Johnston <[EMAIL PROTECTED]
:
Any idea why this bit of code
if("yes" == $_POST['submitter'])
{
mysql_select_db($db,$myconnection);
$sql = "INSERT INTO `$db`.`$table`
(name,email,comments,entrydate)
values ('$name','$email','$comments','$entrydate')";
mysq
> Any idea why this bit of code
>
> if("yes" == $_POST['submitter'])
> {
> mysql_select_db($db,$myconnection);
>
> $sql = "INSERT INTO `$db`.`$table`
> (name,email,comments,entrydate)
> values ('$name','$email','$comments','$entrydate')";
> mysql_query($sql) or die(print mysql_err
Any idea why this bit of code
if("yes" == $_POST['submitter'])
{
mysql_select_db($db,$myconnection);
$sql = "INSERT INTO `$db`.`$table`
(name,email,comments,entrydate)
values ('$name','$email','$comments','$entrydate')";
mysql_query($sql) or die(print mysql_error());
}
is provoking
7 matches
Mail list logo