[PHP-DB] PHP MySql

2001-04-08 Thread Jonathan Underfoot
even that dosen't work. Ideas? Thanx, -Jonathan Underfoot -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]

Re: [PHP-DB] MySQL / PHP Database Help

2002-02-08 Thread Jonathan Underfoot
What does bool(false) mean? Thats off the vardump -J - Original Message - From: Jeroen Timmers [EMAIL PROTECTED] To: Jonathan Underfoot [EMAIL PROTECTED] Cc: [PHP-DB] [EMAIL PROTECTED] Sent: Friday, February 08, 2002 8:58 AM Subject: Re: [PHP-DB] MySQL / PHP Database Help Hello

[PHP-DB] Re: How To Upload

2002-02-08 Thread Jonathan Underfoot
Heres a form and the PHP behind it I use: ---FORM--- HTML HEAD TITLEAdd Pic/TITLE /HEAD BODY BGCOLOR=#FF TEXT=#00 LINK=#FF VLINK=#800080 form enctype=multipart/form-data action=addpic.php method=post input type=hidden value=$com_num name=com_num Pic to Upload(Only .jpg and .gif

Re: [PHP-DB] Re: [PHP] help - to get client IP

2002-02-11 Thread Jonathan Underfoot
This is what I use, I think I got it off the online documentation. I use it to track users and it checks for proxys. if ($HTTP_SERVER_VARS[HTTP_X_FORWARDED_FOR] != ) {$IP = $HTTP_SERVER_VARS[HTTP_X_FORWARDED_FOR]; $proxy = $HTTP_SERVER_VARS[REMOTE_ADDR]; $host =

Re: [PHP-DB] mySQL dB copy

2002-02-11 Thread Jonathan Underfoot
If your not really a text MySQL guy I would highly recomend PHPMyAdmin. Its a set of PHP scripts you can upload into its own directory and run immediately. It will allow you to download (through the web interface) the entire database, and then move it to the new site (using the same tool.) I've

Re: [PHP-DB] Re: multiple forms, one submit button

2002-02-12 Thread Jonathan Underfoot
Ok I think I understand where your comming from now. You have multiple forms on one HTML page.. and you want one submit button to send all the forms to their respective PHP scripts. I dont know how to do that, with my knowledge of HTML I don't even think its possible. I would make one form

Re: [PHP-DB] Required pages...

2002-02-12 Thread Jonathan Underfoot
Personally, I'm not quite sure what the best way to do it would be. (I don't use sessions personally.) But I've noticed recently on certain less than scrupulous websites that they're using javascript to track down the user's last page (to make sure they voted.) You'd have to track down the

[PHP-DB] Re: How To Upload

2002-02-14 Thread Jonathan Underfoot
the forum has another idea? (Returned copy.) -Jonathan - Original Message - From: Luke Thomas [EMAIL PROTECTED] To: Jonathan Underfoot [EMAIL PROTECTED] Sent: Sunday, October 14, 2001 5:10 AM Subject: Re: How To Upload Hi, This Mail interested me very much, I am currently trying

[PHP-DB] SQL

2002-02-19 Thread Jonathan Underfoot
Is it possible to do a comparison of values from a count... for example... SELECT table1.name, count(table1.name) as num1, count(table2.name) as num2 FROM table1, table2 WHERE table1.name = table2.name AND num1 = num2 This sort of thing dosent work for me. How do I reffrence a count later in

Re: [PHP-DB] SQL

2002-02-19 Thread Jonathan Underfoot
be completely off base here..) Thanx, -Jonathan - Original Message - From: Rick Emery [EMAIL PROTECTED] To: 'Jonathan Underfoot' [EMAIL PROTECTED]; [PHP-DB] [EMAIL PROTECTED] Sent: Tuesday, February 19, 2002 4:06 PM Subject: RE: [PHP-DB] SQL How could you possibly have

Re: [PHP-DB] SQL

2002-02-20 Thread Jonathan Underfoot
PROTECTED] [EMAIL PROTECTED] wrote: From: Jonathan Underfoot [EMAIL PROTECTED] Date: Tue, 19 Feb 2002 16:28:32 -0500 To: Rick Emery [EMAIL PROTECTED], [PHP-DB] [EMAIL PROTECTED] Subject: Re: [PHP-DB] SQL ok... authorizations and charges... two tables.. Card Number 1 gets

[PHP-DB] The Debacle

2002-02-24 Thread Jonathan Underfoot
I'm putting together a table with bands, and I have a slight problem. Well it not really a problem as much as I'd like some input from more seasoned professionals. Certain band names begin with The but when listing them it would be of great advantge to me to remove the the. Has anyone else

Re: [PHP-DB] Problem with symbol

2002-02-25 Thread Jonathan Underfoot
In my experience PHPMyAdmin DOES NOT change anything. It never changes for me, and it dosen't addslashes(), which makes it a complete pain in the ass to use, but better than changing things without your knowledge I suppose. Maybe I'm using an old version? -Jonathan - Original Message