Here's my idea:
// select all products made by the manufacturer
$query="SELECT DISTINCT Name, Prod_ID FROM Product WHERE In_Stock = 1
and Man_ID = '$Man_ID'";
$mysql_result=mysql_query($query, $mysql_link);
// loop through the results
while($row=mysql_fetch_row($mysql_result)){
// determine w
This is automatically done by something called MagicQuotes. You can
turn this off in your installation of PHP.
-Angela
>HI,
>IF i add my name as Carol O'Conner in a form and Echo (PHP 4.06 on win
95) it back I see
>
>Carol O\'Conner
>
>If I pass that name along to another page I'll see it as:
Here's the way I check:
-Set a cookie on the user's machine. I name mine sessionid.
-Redirect to a new page using header("location: acceptcookies.php");
-On the new page, check to see if the variable has a value. For
example, I would check to see if $sessionid=="" and if it's true then
their mac