[PHP-DB] PHP5 is coming out!!!

2001-05-01 Thread Selvin Sakal
what's wrong with the following script - ?php if (empty($hidden)) { displayform(); exit; } $site= 'db.alphabot.f2s.com'; $usernames = 'alphabot'; $passwords = 'money'; $dbName = 'alphabot'; $connect = mysql_connect($site,$usernames,$passwords); mysql_select_db($dbName,$connect); $result =

Re: [PHP-DB] PHP5 is coming out!!!

2001-05-01 Thread B. van Ouwerkerk
P.S. I don't know when php 5 is coming out. aHaHaHa hehehe hohoho merry christmas thanks You can come here and ask questions. But why are you trying to fool people. This_is_not_funny. Bye, B. -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED]

RE: [PHP-DB] undefined index

2001-05-01 Thread Henning Kilset Pedersen
Hi! Drop the quotes around your array keys. It should be $row[imageurl] for example. -- Henning Kilset Pedersen Anarchy Online Server Operations Oracle, PHP, e-Commerce etc. Funcom Oslo AS -Original Message- From: Petra [mailto:[EMAIL PROTECTED]] Sent: 1. mai 2001 03:29 To:

[PHP-DB] PHP5 is NOT out yet, but 4.0.5 IS!

2001-05-01 Thread Jonathan Hilgeman
1) Check out the new 4.0.5 version of PHP. 2) Some of the functions in the documentation now say Feature added in 4.0.6 but I don't see that version available yet, since 4.0.5 was just released. Does that just mean they are enticing us or something? -Original Message- From: B. van

Re: [PHP-DB] PHP5 is coming out!!!

2001-05-01 Thread jdwright
Hiya, what's wrong with the following script - ?php if (empty($hidden)) { displayform(); exit; } $site= 'db.alphabot.f2s.com'; $usernames = 'alphabot'; $passwords = 'money'; $dbName = 'alphabot'; $connect = mysql_connect($site,$usernames,$passwords);

Re: [PHP-DB] PHP5 is coming out!!!

2001-05-01 Thread John Starkey
You know. I get this strange feeling that, in order to keep the correct balance, people should reply to your question under a different subject line. Have you missed any replies to this? P.S. I don't know when php 5 is coming out. aHaHaHa hehehe hohoho merry christmas thanks

Re: [PHP-DB] newbie: showing records from SQL

2001-05-01 Thread Jason Stechschulte
On Sat, Apr 28, 2001 at 07:06:31PM +0200, twopeak wrote: I managed to find out how to add records in my table, but I can't find out how to show records... Are there manuals on the web that are specific to php sql? I've found manuals for both, but they both give only a little bit of

Re: [PHP-DB] undefined index

2001-05-01 Thread Joe Brown
I don't think dropping the quotes is the best solution. One might consider dropping the warning level in php.ini, if it is a problem, or use numbered array like mysql_fetch_row() returns. -Joe Henning Kilset Pedersen [EMAIL PROTECTED] wrote in message

Re: [PHP-DB] undefined index

2001-05-01 Thread Phil Driscoll
Your best bet is to do some isset() calls: eg if(isset($row['imageurl'])) { $image=$row['imageurl']; } else { /*maybe report the problems or handle it like this...*/ $image=$default_image_url; /*where you have already set up $default_image_url to point somewhere sensible*/ } Cheers --

[PHP-DB] mysql_connect() fails on redhat!

2001-05-01 Thread Siamak Amirghodsi
Hello, I am using RedHat 7.0 I installed PHP 4 as RPM I installed Mysql as RPM I installed php-mysql.rpm as as RMP When I try to connect to db with mysql_connect(,-,) I get undefined function : mysql_connect Do I have to include any other call for redhat 7.0 and RPM on top of

[PHP-DB] configure PHP4 with sybase-ct

2001-05-01 Thread Lester June Cabrera
Hi, When I run configure in my Solaris box ./configure --with-nsapi=path of iPlanet --enable-libgcc --with-mysql=path of my MySQL --enable-track-vars --enable-short-tags

[PHP-DB] database synchronizing

2001-05-01 Thread Benny K. Putera
I have 2 systems, local and internet. I want my Internet database is updated from local database. How can I make this through php script? Regards; Benny. Join 18 million Eudora users by signing up for a free Eudora Web-Mail account at http://www.eudoramail.com -- PHP Database Mailing List

Re: [PHP-DB] database synchronizing

2001-05-01 Thread Lester June Cabrera
How about a crontab process? But I haven't tried croning a PHP script. At 12:59 PM 5/2/01 +0700, Benny K. Putera wrote: I have 2 systems, local and internet. I want my Internet database is updated from local database. How can I make this through php script? Regards; Benny. Join 18 million

[PHP-DB] Emanuel virus

2001-05-01 Thread Miles Thompson
Somehow I picked up a copy of the emanuel virus, and like a damned fool, clicked on it last night. It immediately started Eudora and tried to distribute itself to anything that looked like an email address. Fortunately Eudora is set so that emails don't go out without me looking at them