[PHP-DB] SELECT question

2001-05-16 Thread Nicholas W. Miller
Hi All, I'm building a standard shopping cart style e-commerce site using PHP and MySQL running on Apache. I store my users' cart info in this table: ++--+--+-+-+---+ | | Field | Type | Null | Key | Default | Extra | +

[PHP-DB] deleting carts

2001-02-24 Thread Nicholas W. Miller
I am developing a shopping cart style e-commerce web site. I have a table called carts that holds users' cart items ... so one user may have several entries in this table: ++--+--+-+-+---+ | Field | Type | Null | Key | Default

[PHP-DB] Re: [PHP] passing variables in javascript

2001-02-22 Thread Nicholas W. Miller
H ... is there anyway to do this without requiring the page with the link to use PHP? You have to encode each part of the query string on the URL correctly: a href="#" onClick="MM_openBrWindow('../email/popup.php??php echo "title=" . urlencode("B2B Antitrust: Opening Moves in the

RE: [PHP-DB] running PHP from the cron

2001-02-19 Thread Nicholas W. Miller
Hello, I run my PHP crons like this: 0 6 * * * /usr/local/bin/lynx -source "http://www.domain.com/file.php" This is not the most secure of course, as the file is below the root and could be hit by any user. But works for my particular case ... Anyone know of a method to make this more