All I'm doing is making a hyperlink that sends the selected item from the
catalog to the add to shopping cart script.  The code now looks like this...

  $value = rawurlencode("add_to_cart.php?item_num=" . $item_num .
    "&quantity=1&sale_price=" . $our_price .
    "&unit=" . $unit .
    "&short_desc=" . $short_desc .
    "&wholesaler=" . $wholesaler .
    "&cost=" . $cost);

  echo "</td><td><a href=\"" . $value .
           "\" <img src=\"cart.jpg\">Add</a>\n</td></tr>";

... and executes the link when the user clicks on the shopping cart icon.

"John W. Holmes" <[EMAIL PROTECTED]> wrote in message
002301c2bf4b$bc44c0b0$7c02a8c0@coconut">news:002301c2bf4b$bc44c0b0$7c02a8c0@coconut...

> And the line you get that error looks like? It looks like you're trying
> to fopen() a file that's made up of PHP_SELF and the QUERY_STRING.
>
> ---John W. Holmes...



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to