Re: [PHP] Re: customer ids

2007-06-06 Thread Burn
Richard Davey ha scritto: Hi Burn, Wednesday, June 6, 2007, 4:39:05 PM, you wrote: Worst thing that can happen is having mysql throw an error while trying to insert an ID that's already present in the database. It gets more complicated and unpredictable if the field isn't requ

Re: [PHP] Re: customer ids

2007-06-06 Thread Burn
Richard Davey ha scritto: Hi Burn, Wednesday, June 6, 2007, 3:55:21 PM, you wrote: Here's how I do it, for 1 single table though.. you'll have to write yourself the mod to check on more tables. If you plan to have > 10 millions records make sure the maxrand is higher. When

[PHP] Re: customer ids

2007-06-06 Thread Burn
$rs = mysql_query($sqlcheck, $conn); $rscount = mysql_num_rows($rs); } while ($rscount != 0); Cheers, Burn -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] file_get_contents() can't fetch files via HTTP from localhost's vhosts

2007-06-06 Thread Burn
the contents of the script before manipulating it? (The script is too complex to assign it as a string to a php variable, which would otherwise empower me to minify it without further troubles). Thanks, Burn -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php