[PHP-DB] Shopping Cart

2005-03-05 Thread Wendell Frohwein
Hello everyone. Just want to thank you for all the help you have provided me in the past. I have a new task that I am trying to tackle, but have come into a snag. I am building a customized shopping cart for auto accessories. I have gotten about 90% of the cart worked out except for the search

Re: [PHP-DB] GD2 library

2005-03-05 Thread Jochem Maas
Balwant Singh wrote: Sorry I am asking a question which is not directly linked to this forum but i am confident that many of you have the answer for it. is it that much trouble to ask you question in the 'correct forum', there is the php-generals list next door where this question fits perfectly.

[PHP-DB] Random Character String

2005-03-05 Thread Ron Piggott
Is there a way of generating an 8 character random string in PHP? Is there a way to ignore UPPER and lower case when you are using the SELECT command to find a record in the mySQL table? I know this isn't an HTML forum ... I have one more question which is more HTML in nature. I don't want some

Re: [PHP-DB] Random Character String

2005-03-05 Thread Ron Piggott
The robots that index the web. Bastien gave me a web site to use for this. Thanks. Ron - Original Message - From: Zareef Ahmed [EMAIL PROTECTED] To: Ron Piggott [EMAIL PROTECTED] Cc: PHP DB php-db@lists.php.net Sent: Saturday, March 05, 2005 11:56 AM Subject: Re: [PHP-DB] Random

RE: [PHP-DB] Random Character String

2005-03-05 Thread Bastien Koert
i use this function to generate a random 7 letter password...simple change to make it 8 function change_password($id, $password) { //generate a random password $pass = ; $salt = abchefghjkmnpqrstuvwxyz0123456789; srand((double)microtime()*100); $i = 0; while ($i = 7) { $num =

[PHP-DB] mysql_real_escape_string for HTML p???

2005-03-05 Thread Ron Piggott
I know of the $variable = mysql_real_escape_string($variable); It works just nicely to allow some of the wild cards to be saved to a mySQL table. Is there something like this for HTML that when you retrieve from a variable in the table an ENTER would be converted to P I am mainly talking about