On Tue, 2004-09-07 at 12:16, Pete Holsberg wrote:
> Also, should I have back tics around a column name
> EVERYWHERE it's used in a SELECT (in this case, following
> ORDER)?
Only if you plan to use keywords as field names, otherwise it's
pointless.
--
Greg Donald
--
PHP Da
Ps however.
> 2.What is the best way to ban IP ranges?
There are several packages in PEAR for use with IPs:
http://pear.php.net/packages.php?catpid=16&catname=Networking
--
Greg Donald
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
sql -uuser -ppass database2 -e 'desc sometable' > sometable2 &&
diff sometable1 sometable2 > difference
cat difference
--
---
Greg Donald
http://destiney.com/public.key
---
use is optional.
--
-------
Greg Donald - http://destiney.com/
http://phprated.com/ | http://phplinks.org/ | http://phptopsites.com/
---
--
PHP Database Mailing List (http://www.php.net/)
To uns
javascript is.
--
-------
Greg Donald - http://destiney.com/
http://phprated.com/ | http://phplinks.org/ | http://phptopsites.com/
---
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
rrent and start a new one.
Then, you need to test that variable again when you run out of
mysql_num_rows(), and fill the 1 or 2 needed cells with
Also, you might wanna look around for some table building classes if your
data is always gonna be really abstract.
if you had posted some code, someone might have seen the error... :(
Anyway, here is how i do it:
if($db = mysql_pconnect($dbhost, $dbuser, $dbpasswd)){
mysql_select_db($dbname, $db);
} else {
echo mysql_error();
exit;
}
------
mysql-insert-id.php
--------
Greg Donald - http://destiney.com/
http://phprated.com/ | http://phplinks.org/ | http://phptopsites.com/
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
es.cookies.php
--------
Greg Donald - http://destiney.com/
http://phprated.com/ | http://phplinks.org/ | http://phptopsites.com/
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
No, the mail() function will not work without a valid MTA. I believe the
default is sendmail. But yeah, you can change that in the php.ini file.
> -Original Message-
> From: fam.paauwe [mailto:[EMAIL PROTECTED]]
> Sent: Friday, March 30, 2001 1:20 PM
> To: [EMAIL PROTECTED]
> Subject: [
10 matches
Mail list logo