mysql_fetch_array, row, assoc... yet another newbie question
Code: Select all
<?php
$existingeventname = $_REQUEST['existingeventname'] ;
// connect to database code here, blah blah
$eventname = mysql_query("SELECT eventname FROM eventstable WHERE eventname='$existingeventname'")
or die(mysql_error());
$oen = mysql_fetch_array( $eventname )
or die(mysql_error());
echo $oen ;
?>but when I echo $oen, shouldn't I get: Billy\'s Magical Hamburgers printed though, just as I do when I echo $existingeventname since they are the same?
I know this question is really basic. sorry.the past many times... that family of possums that live in my head must be multiplying again. Here's the code
Code: Select all
<?php
$existingeventname = $_REQUEST['existingeventname'] ;
// connect to database code here, blah blah
$eventname = mysql_query("SELECT eventname FROM eventstable WHERE eventname='$existingeventname'")
or die(mysql_error());
$oen = mysql_fetch_array( $eventname )
or die(mysql_error());
echo $oen ;
?>butssums that live in my head must be multiplying again. Here's the code
Code: Select all
<?php
$existingeventname = $_REQUEST['existingeventname'] ;
// connect to database code here, blah blah
$eventname = mysql_query("SELECT eventname FROM eventstable WHERE eventname='$existingeventname'")
or die(mysql_error());
$oen = mysql_fetch_array( $eventname )
or die(mysql_error());
echo $oen ;
?>Code: Select all
<?php
$existingeventname = $_REQUEST['existingeventname'] ;
// connect to database code here, blah blah
$eventname = mysql_query("SELECT eventname FROM eventstable WHERE eventname='$existingeventname'")
or die(mysql_error());
$oen = mysql_fetch_array( $eventname )
or die(mysql_error());
echo $oen ;
?>Code: Select all
<?php
$existingeventname = $_REQUEST['existingeventname'] ;
// connect to database code here, blah blah
$eventname = mysql_query("SELECT eventname FROM eventstable WHERE eventname='$existingeventname'")
or die(mysql_error());
$oen = mysql_fetch_array( $eventname )
or die(mysql_error());
echo $oen ;
?>Code: Select all
<?php
$existingeventname = $_REQUEST['existingeventname'] ;
// connect to database code here, blah blah
$eventname = mysql_query("SELECT eventname FROM eventstable WHERE eventname='$existingeventname'")
or die(mysql_error());
$oen = mysql_fetch_array( $eventname )
or die(mysql_error());
echo $oen ;
?>but when I echo $oen, shouldn't I get: Billy\'s Magical Hamburgers printed though, just as I do when I echo $existingeventname since they aI've done this successfully in the past many times... that family of possums that live in my head must be multiplying again. Here's the code
Code: Select all
<?php
$existingeventname = $_REQUEST['existingeventname'] ;
// connect to database code here, blah blah
$eventname = mysql_query("SELECT eventname FROM eventstable WHERE eventname='$existingeventname'")
or die(mysql_error());
$oen = mysql_fetch_array( $eventname )
or die(mysql_error());
echo $oen ;
?>but when I echo $oen, shouldn't I get: Billy\'s Magical Hamburgers printed though, just as I do when I echo $existingeventname since they are the same?
I know this question is really basic. sorry.o have an apostrophe in that row though (it reads as Billy's Magical Hamburgers after I strip slashes), but I don't need to add or strip slashes right since the values match? When I echo $existingeventname, it prints fine.
but when I echo $oen, shouldn't I get: Billy\'s Magical Hamburgers printed though, just as I do when I echo $existingeventname since they are the same?
I know this question is really basic. sorry.echo $oen, shouldn't I get: Billy\'s Magical Hamburgers printed though, just as I do when I echo $existingeventname since they are the same?
I know this question is really basic. sorry.ossums that live in my head must be multiplying again. Here's the code
Code: Select all
<?php
$existingeventname = $_REQUEST['existingeventname'] ;
// connect to database code here, blah blah
$eventname = mysql_query("SELECT eventname FROM eventstable WHERE eventname='$existingeventname'")
or die(mysql_error());
$oen = mysql_fetch_array( $eventname )
or die(mysql_error());
echo $oen ;
?>Code: Select all
<?php
$existingeventname = $_REQUEST['existingeventname'] ;
// connect to database code here, blah blah
$eventname = mysql_query("SELECT eventname FROM eventstable WHERE eventname='$existingeventname'")
or die(mysql_error());
$oen = mysql_fetch_array( $eventname )
or die(mysql_error());
echo $oen ;
?>Code: Select all
<?php
$existingeventname = $_REQUEST['existingeventname'] ;
// connect to database code here, blah blah
$eventname = mysql_query("SELECT eventname FROM eventstable WHERE eventname='$existingeventname'")
or die(mysql_error());
$oen = mysql_fetch_array( $eventname )
or die(mysql_error());
echo $oen ;
?>but when I echo $oen, shouldn't I get: Billy\'s Magical Hamburgers printed though, just as I do when I echo $existingeventname since they are the same?
I know this question is really basic. sorry.geventname = $_REQUEST['existingeventname'] ;
// connect to database code here, blah blah
$eventname = mysql_query("SELECT eventname FROM eventstable WHERE eventname='$existingeventname'")
or die(mysql_error());
$oen = mysql_fetch_array( $eventname )
or die(mysql_error());
echo $oen ;
?>
I get nothing. it prints nothing. I do have an apostrophe in that row though (it reads as Billy's Magical Hamburgers after I strip slashes), but I don't need to add or strip slashes right since the values match? When I echo $existingeventname, it prints fine.
but when I echo $oen, shouldn't I get: Billy\'s Magical Hamburgers printed though, just as I do when I echo $existingevntstable WHERE eventname='$existingeventname'")
or die(mysql_error());
$oen = mysql_fetch_array( $eventname )
or die(mysql_error());
echo $oen ;
?>
I get nothing. it prints nothing. I do have an apostrophe in that row though (it reads as Billy's Magical Hamburgers after I strip slashes), but I don't need to add or strip slashes right since the values match? When I echo $existingeventname, it prints fine.
but when I echo $oen, shouldn't I get: Billy\'s Magical Hamburgers printed though, just as I ds successfully in the past many times... that family of possums that live in my head must be multiplying again. Here's the code
Code: Select all
<?php
$existingeventname = $_REQUEST['existingeventname'] ;
// connect to database code here, blah blah
$eventname = mysql_query("SELECT eventname FROM eventstable WHERE eventname='$existingeventname'")
or die(mysql_error());
$oen = mysql_fetch_array( $eventname )
or die(mysql_error());
echo $oen ;
?>but when I echo $oen, shouldn't I get: Billy\'s Magical Hamburgers printed though, just as I do when I echo $existingeventname since they are the same?
I know this question is really basic. sorry.nect to database code here, blah blah
$eventname = mysql_query("SELECT eventname FROM eventstable WHERE eventname='$existingeventname'"e;)
or die(mysql_error());
$oen = mysql_fetch_array( $eventname )
or die(mysql_error());
echo $oen ;
?>
I get nothing. it prints nothing. I do have an apostrophe in that row though (it reads as Billy's Magical Hamburgers after I strip slashes), but I don't need to add or strip slashes right since the values match? When I echo $existingeventname, it prints fine.
but when I echo $oen, shouldn't I get: Billy\'s Magical Hamburgers printed though, just as I do when I echo $existingeventname since they are the same?
I know this question ='$existingeventname'")
or die(mysql_error());
$oen = mysql_fetch_array( $eventname )
or die(mysql_error());
echo $oen ;
?>
I get nothing. it prints nothing. I do have an apostrophe in that row though (it reads as Billy's Magical Hamburgers after I strip slashes), but I don't need to add or strip slashes right since the values match? When I echo $existingeventname, it prints fine.
but when I echo $oen, shouldn't I get: Billy\'s Magical Hamburgers printed though, just as I do when I echo $existingeventname since they are the same?
I know this question is really basic. sorry.atch? When I echo $existingeventname, it prints fine.
but when I echo $oen, shouldn't I get: Billy\'s Magical Hamburgers printed though, just as I do when I echo $existingeventname since they are the same?
I know this question is really basic. sorry. $_REQUEST['existingeventname'] ;
// connect to database code here, blah blah
$eventname = mysql_query("SELECT eventname FROM eventstable WHERE eventname='$existingeventname'")
or die(mysql_error());
$oen = mysql_fetch_array( $eventname )
or die(mysql_error());
echo $oen ;
?>
I get nothing. it prints nothing. I do have an apostrophe in that row though (it reads as Billy's Magical Hamburgers after I strip slashes), but I don't need to add or strip slashes right since the values match? When I echo $existingeventname, it prints fine.
but , blah blah
$eventname = mysql_query("SELECT eventname FROM eventstable WHERE eventname='$existingeventname'")
or die(mysql_error());
$oen = mysql_fetch_array( $eventname )
or die(mysql_error());
echo $oen ;
?>
I get nothing. it prints nothing. I do have an apostrophe in that row though (it reads as Billy's Magical Hamburgers after I strip slashes), but I don't need to add or strip slashes right since the values match? When I echo $existingeventname, it prints fine.
but when I echo $oen, shouldn't I get: Billy\'s Magical Hamburgers printed though, just as I do when It nothing. it prints nothing. I do have an apostrophe in that row though (it reads as Billy's Magical Hamburgers after I strip slashes), but I don't need to add or strip slashes right since the values match? When I echo $existingeventname, it prints fine.
but when I echo $oen, shouldn't I get: Billy\'s Magical Hamburgers printed though, just as I do when I echo $existingeventname since they are the same?
I know this question is really basic. sorry.I've done this successfully in the past many times... that family of possums that live in my head must be multiplying again. Here's the code
Code: Select all
<?php
$existingeventname = $_REQUEST['existingeventname'] ;
// connect to database code here, blah blah
$eventname = mysql_query("SELECT eventname FROM eventstable WHERE eventname='$existingeventname'")
or die(mysql_error());
$oen = mysql_fetch_array( $eventname )
or die(mysql_error());
echo $oen ;
?>$oen = mysql_fetch_array( $eventname )
or die(mysql_error());
echo $oen ;
?>
I get nothing. it prints nothing. I do have an apostrophe in that row though (it reads as Billy's Magical Hamburgers after I strip slashes), but I don't need to add or strip slashes right since the values match? When I echo $existingeventname, it prints fine.
but when I echo $oen, shouldn't I get: Billy\'s Magical Hamburgers printed though, just as I do when I echo $existingeventname since they are the same?
I know this question is really basic. sorry.n the past many times... that family of possums that live in my head must be multiplying again. Here's the code
Code: Select all
<?php
$existingeventname = $_REQUEST['existingeventname'] ;
// connect to database code here, blah blah
$eventname = mysql_query("SELECT eventname FROM eventstable WHERE eventname='$existingeventname'")
or die(mysql_error());
$oen = mysql_fetch_array( $eventname )
or die(mysql_error());
echo $oen ;
?>but when I echo $oen, shouldn't I get: Billy\'s Magical Hamburgers printed though, just as I do when I echo $existingeventname since they a;?php
$existingeventname = $_REQUEST['existingeventname'] ;
// connect to database code here, blah blah
$eventname = mysql_query("SELECT eventname FROM eventstable WHERE eventname='$existingeventname'")
or die(mysql_error());
$oen = mysql_fetch_array( $eventname )
or die(mysql_error());
echo $oen ;
?>
I get nothing. it prints nothing. I do have an apostrophe in that row though (it reads as Billy's Magical Hamburgers after I strip slashes), but I don't need to add or strip slashes right since the values match? When I echo $existingeventname, it prints fine.
but when I echo $oen, shouldn't I get: Billy\'s Magical Hamburgers printed though, just as I do when I echo $existingeventname since they are the same?
I know this question is really basic. sorry. in the past many times... that family of possums that live in my head must be multiplying again. Here's the code
Code: Select all
<?php
$existingeventname = $_REQUEST['existingeventname'] ;
// connect to database code here, blah blah
$eventname = mysql_query("SELECT eventname FROM eventstable WHERE eventname='$existingeventname'")
or die(mysql_error());
$oen = mysql_fetch_array( $eventname )
or die(mysql_error());
echo $oen ;
?>// connect to database code here, blah blah
$eventname = mysql_query("SELECT eventname FROM eventstable WHERE eventname='$existingeventname'")
or die(mysql_error());
$oen = mysql_fetch_array( $eventname )
or die(mysql_error());
echo $oen ;
?>
I get nothing. it prints nothing. I do have an apostrophe in that row though (it reads as Billy's Magical Hamburgers after I strip slashes), but I don't need to add or strip slashes right since the values matcame = $_REQUEST['existingeventname'] ;
// connect to database code here, blah blah
$eventname = mysql_query("SELECT eventname FROM eventstable WHERE eventname='$existingeventname'")
or die(mysql_error());
$oen = mysql_fetch_array( $eventname )
or die(mysql_error());
echo $oen ;
?>
I get nothing. it prints nothing. I do have an apostrophe in that row though (it reads as Billy's Magical Hamburgers after I strip slashes), but I don't need to add or strip slashes right since the values match? When I echo $existingeventname, it prints fine.
but when I echo $oen, shouldn't I get: Billy\'s Magical Hamburgers printed though, just as I do when I echo $e;
$oen = mysql_fetch_array( $eventname )
or die(mysql_error());
echo $oen ;
?>
I get nothing. it prints nothing. I do have an apostrophe in that row though (it reads as Billy's Magical Hamburgers after I strip slashes), but I don't need to add or strip slashes right since the values match? When I echo $existingeventname, it prints fine.
but wFROM eventstable WHERE eventname='$existingeventname'")
or die(mysql_error());
$oen = mysql_fetch_array( $eventname )
or die(mysql_error());
echo $oen ;
?>
I get nothing. it prints nothing. I do have an apostrophe in that row though (it reads as Billy's Magical Hamburgers after I strip slashes), but I don't need to add or strip slashes right since the values match? When I echo $existingeventname, it prints fine.
but when I echo $oen, shouldn't I getn my head must be multiplying again. Here's the code
Code: Select all
<?php
$existingeventname = $_REQUEST['existingeventname'] ;
// connect to database code here, blah blah
$eventname = mysql_query("SELECT eventname FROM eventstable WHERE eventname='$existingeventname'")
or die(mysql_error());
$oen = mysql_fetch_array( $eventname )
or die(mysql_error());
echo $oen ;
?>but when I echo $oen, shouldn't I get: Billy\'s Magical Hamburgers printed though, just as I do when I echo $existingeventname since they are the same?
I know this question is really basic. sorry.successfully in the past many times... that family of possums that live in my head must be multiplying again. Here's the code
Code: Select all
<?php
$existingeventname = $_REQUEST['existingeventname'] ;
// connect to database code here, blah blah
$eventname = mysql_query("SELECT eventname FROM eventstable WHERE eventname='$existingeventname'")
or die(mysql_error());
$oen = mysql_fetch_array( $eventname )
or die(mysql_error());
echo $oen ;
?>but when I echo $oen, shouldn't I get: Billy\'s Magical Hamburgers printed though, just as I do when I echo $existingeventname since they are the same?
I know this question is really basic. sorry.istingeventname'")
or die(mysql_error());
$oen = mysql_fetch_array( $eventname )
or die(mysql_error());
echo $oen ;
?>
I get nothing. it prints nothing. I do have an apostrophe in that row though (it reads as Billy's Magical Hamburgers after I strip slashes), but I don't need to add or strip slashes right since the values matI've done this successfully in the past many times... that family of possums that live in my head must be multiplying again. Here's the code
Code: Select all
<?php
$existingeventname = $_REQUEST['existingeventname'] ;
// connect to database code here, blah blah
$eventname = mysql_query("SELECT eventname FROM eventstable WHERE eventname='$existingeventname'")
or die(mysql_error());
$oen = mysql_fetch_array( $eventname )
or die(mysql_error());
echo $oen ;
?>but when I echo $oen, shouldn't I get: Billy\'s Magical Hamburgers printed though, just as I do when I echo $existingeventntname = $_REQUEST['existingeventname'] ;
// connect to database code here, blah blah
$eventname = mysql_query("SELECT eventname FROM eventstable WHERE eventname='$existingeventname'")
or die(mysql_error());
$oen = mysql_fetch_array( $eventname )
or die(mysql_error());
echo $oen ;
?>
I get nothing. it prints nothing. I do have an apostrophe in that r... that family of possums that live in my head must be multiplying again. Here's the code
Code: Select all
<?php
$existingeventname = $_REQUEST['existingeventname'] ;
// connect to database code here, blah blah
$eventname = mysql_query("SELECT eventname FROM eventstable WHERE eventname='$existingeventname'")
or die(mysql_error());
$oen = mysql_fetch_array( $eventname )
or die(mysql_error());
echo $oen ;
?>but when I echo $oen, shouldn't I get: Billy\'s Magical Hamburgers printed though, just as I do when I echo $existingeventname since they are the same?
I know this question is really basic. sorryp;amp;lt;?php
$existingeventname = $_REQUESTї'existingeventname'] ;
// connect to database code here, blah blah
$eventname = mysql_query("e;SELECT eventname FROM eventstable WHERE eventname='$existingeventname'"e;)
or die(mysql_error());
$oen = mysql_fetch_array( $eventname )
or die(mysql_error());
echo $oen ;
?>
I get nothing. it prints nothing. I do have an apostrophe in that row though (it reads as Billy's Magical Hamburgers after I strip slashes), but I don't need to add or strip slashes right since the values match? When I echo $existingeventname, it prints fine.
but when I echo $oen, shouldn't I get: Billy\'s Magical Hamburgers printed though, just as I do when I echo $existingeventname since they are the same?
I know this question is really basic. sorry.I've done this successfully in the past many times... that family of possums that live in my head must be multiplying again. Here's the code
Code: Select all
<?php
$existingeventname = $_REQUEST['existingeventname'] ;
// connect to database code here, blah blah
$eventname = mysql_query("SELECT eventname FROM eventstable WHERE eventname='$existingeventname'")
or die(mysql_error());
$oen = mysql_fetch_array( $eventname )
or die(mysql_error());
echo $oen ;
?>but when I echo $oen, shouldn't I get: Billy\'hp
$existingeventname = $_REQUEST['existingeventname'] ;
// connect to database code here, blah blah
$eventname = mysql_query("SELECT eventname FROM eventstable WHERE eventname='$existingeventname'"e;)
or die(mysql_error());
$oen = mysql_fetch_array( $eventname )
or die(mysql_error());
echo $oen ;
?>
I get nothing. it prints nothing. I do have an apostrophe in that row though (it reads as Billy's Magical Hamburgers after I strip slashes), but I don't need to add or strip slashes right since the values match? When I echo $existingeventname, it prints fine.
but when I echo $oen,php]
<?php
$existingeventname = $_REQUEST['existingeventname'] ;
// connect to database code here, blah blah
$eventname = mysql_query("SELECT eventname FROM eventstable WHERE eventname='$existingeventname'"e;)
or die(mysql_error());
$oen = mysql_fetch_array( $eventname )
or die(mysql_error());
echo $oen ;
?>
I get nothing. it prints nothing. I do have an apostrophe in that row though (it reads as Billy's Magical Hamburgers after I strip slashes), but I don't need to add or strip slashes right since the values match? When I echo $existingeventname, it prints nothing. I do have an apostrophe in that row though (it reads as Billy's Magical Hamburgers after I strip slashes), but I don't need to add or strip slashes right since the values match? When I echo $existingeventname, it prints fine.
but when I echo $oen, shouldn't I get: Billy\'s Magical Hamburgers printed though, just as I do when I echo $existingeventname since they are the same?
I know this question is really basic. sorry.entname'")
or die(mysql_error());
$oen = mysql_fetch_array( $eventname )
or die(mysql_error());
echo $oen ;
?>
I get nothing. it prints nothing. I do have an apostrophe in that row though (it reads as Billy's Magical Hamburgers after I strip slashes), but I don't need to add or strip slashes right since the values match? When I echo $existingeventname, it prints fine.
but when I echo $oen, shouldn't I get: Billy\'s Magical Hamburgers printed though, just as I do when I echo $existingeventname since they are the same?
I know this question is really basic. sorry.<?php
$existingeventname = $_REQUEST['existingeventname'] ;
// connect to database code here, blah blah
$eventname = mysql_query("SELECT eventname FROM eventstable WHERE eventname='$existingeventname'")
or die(mysql_error());
$oen = mysql_fetch_array( $eventname )
or die(mysql_error());
echo $oen ;
?>
I get nothing. it prints nothing. I do have an apostrophe in that row though (it reads as Billy's Magical Hamburgers after I strip slashes), but I don't need to add or strip slashes right since the values match? When I echo $existingeventname, it prints fine.
but when I echo $oen, shouldn't I get: Billy\'s Magical Hamburgers printed though, just as I do when I echo $existingeventname since they are the same?
I know this question is really basic. sorry.I've done this successfully in the past many times... that family of possums that live in my head must be multiplying again. Here's the code
Code: Select all
<?php
$existingeventname = $_REQUEST['existingeventname'] ;
// connect to database code here, blah blah
$eventname = mysql_query("SELECT eventname FROM eventstable WHERE eventname='$existingeventname'")
or die(mysql_error());
$oen = mysql_fetch_array( $eventname )
or die(mysql_error());
echo $oen ;
?>but when I echo $oen, shouldn't I get: Billy\'s Magical Hamburgers printed though, just as I do when I echo $existingeventname since they are the same?
I know this quely of possums that live in my head must be multiplying again. Here's the code
Code: Select all
<?php
$existingeventname = $_REQUEST['existingeventname'] ;
// connect to database code here, blah blah
$eventname = mysql_query("SELECT eventname FROM eventstable WHERE eventname='$existingeventname'")
or die(mysql_error());
$oen = mysql_fetch_array( $eventname )
or die(mysql_error());
echo $oen ;
?>Code: Select all
<?php
$existingeventname = $_REQUEST['existingeventname'] ;
// connect to database code here, blah blah
$eventname = mysql_query("SELECT eventname FROM eventstable WHERE eventname='$existingeventname'")
or die(mysql_error());
$oen = mysql_fetch_array( $eventname )
or die(mysql_error());
echo $oen ;
?>but when I echo $oen, shouldn't I get: Billy\'s Magical Hamburgers printed though, just as I do when I echo $existingeventname since they are the same?
I know this question is really basic. sorry.rror());
$oen = mysql_fetch_array( $eventname )
or die(mysql_error());
echo $oen ;
?>
I get nothing. it prints nothing. I do have an apos4be966a]
<?php
$existingeventname = $_REQUEST['existingeventname'] ;
// connect to database code here, blah blah
$eventname = mysql_query("e;SELECT eventname FROM eventstable WHERE eventname='$existingeventname'"e;)
or die(mysql_error());
$oen = mysql_fetch_array( $eventname )
or die(mysql_error());
echo $oen ;
?>
I get nothing. it prints nothing. I do have an apostrophe in that row though (it reads as Billy's Magical Hamburgers after I strip slashes), but I don't need to add or strip slashes right since the values match? When I echo $existingeventname, it prints fine.
but when I echo $oultiplying again. Here's the code
Code: Select all
<?php
$existingeventname = $_REQUEST['existingeventname'] ;
// connect to database code here, blah blah
$eventname = mysql_query("SELECT eventname FROM eventstable WHERE eventname='$existingeventname'")
or die(mysql_error());
$oen = mysql_fetch_array( $eventname )
or die(mysql_error());
echo $oen ;
?>but when I echo $oen, shouldn't I get: Billy\'s Magical Hamburgers printed though, just as I do when I echo $existingeventname since they are the same?
I know this question is really basic. sorry.n the past many times... that family of possums that live in my head must be multiplying again. Here's the code
Code: Select all
<?php
$existingeventname = $_REQUEST['existingeventname'] ;
// connect to database code here, blah blah
$eventname = mysql_query("SELECT eventname FROM eventstable WHERE eventname='$existingeventname'")
or die(mysql_error());
$oen = mysql_fetch_array( $eventname )
or die(mysql_error());
echo $oen ;
?><?php
$existingeventname = $_REQUESTї'existingeventname'] ;
// connect to database code here, blah blah
$eventname = mysql_query("e;SELECT eventname FROM eventstable WHERE eventname='$existingeventname'"e;)
or die(mysql_error());
$oen = mysql_fetch_array( $eventname )
or die(mysql_error());
echo $oen ;
?>
I get nothing. it prints nothing. I do have an apostrophe in that row though (it reads as Billy's Magical Hamburgers after I strip slashes), but I don't need to add or strip slashes right since the values match? When I echo $existingeventname, it prints fine.
at live in my head must be multiplying again. Here's the code
Code: Select all
<?php
$existingeventname = $_REQUEST['existingeventname'] ;
// connect to database code here, blah blah
$eventname = mysql_query("SELECT eventname FROM eventstable WHERE eventname='$existingeventname'")
or die(mysql_error());
$oen = mysql_fetch_array( $eventname )
or die(mysql_error());
echo $oen ;
?>but when I echo $oen, shouldn't I get: Billy\'s Magical Hamburgers printed though, just as I do when I echo $existingeventname since they are the same?
I know this question is really basic. sorry.r die(mysql_error());
$oen = mysql_fetch_array( $eventname )
or die(mysql_error());
echo $oen ;
?>
I get nothing. it prints nothing. I do have an apostrophe in that row though (it reads as Billy's Magical Hamburgers after I strip slashes), but I don't need to add or strip slashes right since the values match? When I echo $existingeventname, it prints fine.
but when I echo $oen, shouldn't I get: Billy\'s Magical Hamburgers printed though, just as I do when I echo $existingeventname since they are the same?
I know this question is really basic. sorry.WHERE eventname='$existingeventname'")
or die(mysql_error());
$oen = mysql_fetch_array( $eventname )
or die(mysql_error());
echo $oen ;
?>
I get nothing. it prints nothing. I do have an apostrophe in that row though (it rn. Here's the code
Code: Select all
<?php
$existingeventname = $_REQUEST['existingeventname'] ;
// connect to database code here, blah blah
$eventname = mysql_query("SELECT eventname FROM eventstable WHERE eventname='$existingeventname'")
or die(mysql_error());
$oen = mysql_fetch_array( $eventname )
or die(mysql_error());
echo $oen ;
?>but when I echmp;amp;lt;?php
$existingeventname = $_REQUEST['existingeventname'] ;
// connect to database code here, blah blah
$eventname = mysql_query("e;SELECT eventname FROM eventstable WHERE eventname='$existingeventname'"e;)
or die(mysql_error());
$oen = mysql_fetch_array( $eventname )
or die(mysql_error());
echo $oen ;
?>
I get nothing. it prints nothing. I do have an apostrophe in that row though (it reads as Billy's Magical Hamburgers after I strip slashes), but I don't need to add or strip slashes right since the values match? When I echo $existingeventname, it prints fine.
but when I echo $oen, shouldn't I get: Billy\'s Magical Hamburgers printed though, just as I do when I echo $existingeventname since they are the same?
I know this question is really basic. sorry.in my head must be multiplying again. Here's the code
Code: Select all
<?php
$existingeventname = $_REQUEST['existingeventname'] ;
// connect to database code here, blah blah
$eventname = mysql_query("SELECT eventname FROM eventstable WHERE eventname='$existingeventname'")
or die(mysql_error());
$oen = mysql_fetch_array( $eventname )
or die(mysql_error());
echo $oen ;
?>but when I echo $oen, shouldn't I get: Billy\'s Magical Hamburgers printed though,e multiplying again. Here's the code
Code: Select all
<?php
$existingeventname = $_REQUEST['existingeventname'] ;
// connect to database code here, blah blah
$eventname = mysql_query("SELECT eventname FROM eventstable WHERE eventname='$existingeventname'")
or die(mysql_error());
$oen = mysql_fetch_array( $eventname )
or die(mysql_error());
echo $oen ;
?>Code: Select all
<?php
$existingeventname = $_REQUEST['existingeventname'] ;
// connect to database code here, blah blah
$eventname = mysql_query("SELECT eventname FROM eventstable WHERE eventname='$existingeventname'")
or die(mysql_error());
$oen = mysql_fetch_array( $eventname )
or die(mysql_error());
echo $oen ;
?>Code: Select all
<?php
$existingeventname = $_REQUEST['existingeventname'] ;
// connect to database code here, blah blah
$eventname = mysql_query("SELECT eventname FROM eventstable WHERE eventname='$existingeventname'")
or die(mysql_error());
$oen = mysql_fetch_array( $eventname )
or die(mysql_error());
echo $oen ;
?>Code: Select all
<?php
$existingeventname = $_REQUEST['existingeventname'] ;
// connect to database code here, blah blah
$eventname = mysql_query("SELECT eventname FROM eventstable WHERE eventname='$existingeventname'")
or die(mysql_error());
$oen = mysql_fetch_array( $eventname )
or die(mysql_error());
echo $oen ;
?>$existingeventname = $_REQUEST['existingeventname'] ;
// connect to database code here, blah blah
$eventname = mysql_query("SELECT eventname FROM eventstable WHERE eventname='$existingeventname'")
or die(mysql_error());
$oen = mysql_fetch_array( $eventname )
or die(mysql_error());
echo $oen ;
?>
I get nothing. it prints nothing. I do have an apostrophe in that row though (it reads as Billy's Magical Hamburgers after I strip slashes), but I don't need to add or strip slashes right since the values match? When I echo $existingeventname, it prints fine.
but when I echo $oen, shouldn't I get: Billy\'s Magical Hamburgers printed ingeventname'")
or die(mysql_error());
$oen = mysql_fetch_array( $eventname )
or die(mysql_error());
echo $oen ;
?>
I get nothing. it prints nothing. I do have an apostrophe in that row though (it reads as Billy's Magical Hamburgers after I strip slashes), but I don't need to add or strip slashes right since the values match? When I echo $existingeventname, it prints fine.
but when I echo $oen, shouldn't I get: Billy\'s Magical Hamburgers printed though, just as I do when I echo $existingeventname since they are the same?
I know this question is really basic. sorry.amily of possums that live in my head must be multiplying again. Here's the code
Code: Select all
<?php
$existingeventname = $_REQUEST['existingeventname'] ;
// connect to database code here, blah blah
$eventname = mysql_query("SELECT eventname FROM eventstable WHERE eventname='$existingeventname'")
or die(mysql_error());
$oen = mysql_fetch_array( $eventname )
or die(mysql_error());
echo $oen ;
?>Code: Select all
<?php
$existingeventname = $_REQUEST['existingeventname'] ;
// connect to database code here, blah blah
$eventname = mysql_query("SELECT eventname FROM eventstable WHERE eventname='$existingeventname'")
or die(mysql_error());
$oen = mysql_fetch_array( $eventname )
or die(mysql_error());
echo $oen ;
?>but when I echo $oen, shouldn't I get: Billy\'s Magical Hamburgers printed though, just as I do when I echo $existingeventname since they are the same?
I know this question is really basic. sorry.= mysql_query("SELECT eventname FROM eventstable WHERE eventname='$existingeventname'")
or die(mysql_error());
$oen = mysql_fetch_array( $eventname )
or die(mysql_error());
echo $oen ;
?>
I get nothing. it prints nothing. I do have an apostrophe in that row though (it reads as Billy's Magical Hamburgers after I strip slashes), but I don't need to add or strip slashes rigccessfully in the past many times... that family of possums that live in my head must be multiplying again. Here's the code
Code: Select all
<?php
$existingeventname = $_REQUEST['existingeventname'] ;
// connect to database code here, blah blah
$eventname = mysql_query("SELECT eventname FROM eventstable WHERE eventname='$existingeventname'")
or die(mysql_error());
$oen = mysql_fetch_array( $eventname )
or die(mysql_error());
echo $oen ;
?>but when I echo $oen, shouldn't I get: Billy\'s Magical Hamburgers printed though, just as I do when I echo $existingeventname since they are the same?
I know this question is really basic. sorry.
// connect to database code here, blah blah
$eventname = mysql_query("SELECT eventname FROM eventstable WHERE eventname='$existingeventname'"e;)
or die(mysql_error());
$oen = mysql_fetch_array( $eventname )
or die(mysql_error());
echo $oen ;
?>
I get nothing. it prints nothing. I do have an apostrophe in that row though (it reads as Billy's Magical Hamburgers after I strip slashes), but I donast many times... that family of possums that live in my head must be multiplying again. Here's the code
Code: Select all
<?php
$existingeventname = $_REQUEST['existingeventname'] ;
// connect to database code here, blah blah
$eventname = mysql_query("SELECT eventname FROM eventstable WHERE eventname='$existingeventname'")
or die(mysql_error());
$oen = mysql_fetch_array( $eventname )
or die(mysql_error());
echo $oen ;
?>Code: Select all
<?php
$existingeventname = $_REQUEST['existingeventname'] ;
// connect to database code here, blah blah
$eventname = mysql_query("SELECT eventname FROM eventstable WHERE eventname='$existingeventname'")
or die(mysql_error());
$oen = mysql_fetch_array( $eventname )
or die(mysql_error());
echo $oen ;
?>// connect to database code here, blah blah
$eventname = mysql_query("SELECT eventname FROM eventstable WHERE eventname='$existingeventname'")
or die(mysql_error());
$oen = mysql_fetch_array( $eventname )
or die(mysql_error());
echo $oen ;
?>
I get nothing. it prints nothing. I do have an apostrophe in that row though (it reads as Billy's Magical Hamburgers after I strip slashes), but I don't need to add or strip slashes right since the values match? When I echo $existingeventname, it prints fine.
but when I echo $oen, shouldn't I get: Billy\'s Magical Hamburgers printed though, just as I do when I echo $existingeventname since they are the same?
I know this qical Hamburgers after I strip slashes), but I don't need to add or strip slashes right since the values match? When I echo $existingeventname, it prints fine.
but when I echo $oen, shouldn't I get: Billy\'s Magical Hamburgers printed though, just as I do when I echo $existingeventname since they are the same?
I know this question is really basic. sorry.many times... that family of possums that live in my head must be multiplying again. Here's the code
Code: Select all
<?php
$existingeventname = $_REQUEST['existingeventname'] ;
// connect to database code here, blah blah
$eventname = mysql_query("SELECT eventname FROM eventstable WHERE eventname='$existingeventname'")
or die(mysql_error());
$oen = mysql_fetch_array( $eventname )
or die(mysql_error());
echo $oen ;
?>Code: Select all
<?php
$existingeventname = $_REQUEST['existingeventname'] ;
// connect to database code here, blah blah
$eventname = mysql_query("SELECT eventname FROM eventstable WHERE eventname='$existingeventname'")
or die(mysql_error());
$oen = mysql_fetch_array( $eventname )
or die(mysql_error());
echo $oen ;
?><?php
$existingeventname = $_REQUEST['existingeventname'] ;
// connect to database code here, blah blah
$eventname = mysql_query("SELECT eventname FROM eventstable WHERE eventname='$existingeventname'")
or die(mysql_error());
$oen = mysql_fetch_array( $eventname )
or die(mysql_error());
echo $oen ;
?>
I get nothing. it prints nothing. I do have an apostrophe in that row though (it reads as Billy's Magical Hamburgers after I strip slashes), but I don't need to add or strip slashes right since the values match? When I echo $existingeventname, it prints fine.
but when I echo $oen, shouldn't I get: Billy\'s Magical Hamburgers printed though, just as I do when I echo $existingeventname since they are the same?
I know this question is really basic. sorry.