Instead of suppressing the error message using the @ sign, why not
remove it and your die() statement and see what error is produced on
your live server?
HTH
--Sam
-Original Message-
From: Ciprian Trofin [mailto:[EMAIL PROTECTED]]
Sent: Friday, April 19, 2002 6:29 AM
To: [EMAIL
, but it is a
pretty easy, convenient way to require authentication.
HTH
Sam Masiello
Software Quality Assurance Engineer
Synacor
(716) 853-1362 X289
[EMAIL PROTECTED]
- Original Message -
From: Rick Emery [EMAIL PROTECTED]
To: 'jas' [EMAIL PROTECTED]; [EMAIL PROTECTED]
Sent: Tuesday, February 12, 2002
Try the following:
$sql = select count(*) as c from your_table ;
$result = mysql_query(your_db, $sql, your_connection_identifier) ;
$row_count = mysql_result($result, 0, 'c') ;
Now $row_count contains the number of rows in your table named your_table
HTH
--Sam Masiello
Andy [EMAIL
MySQL. There is a function called mysql_insert_id()
that will give you the answer that you are looking for. You can find more
information about it here:
http://www.php.net/manual/en/function.mysql-insert-id.php
HTH
Sam Masiello
Software Quality Assurance Engineer
Synacor
(716) 853-1362 X289
[EMAIL
I think you might want to be a little more specific as to what you are
trying to accomplish. Give us some more details and we would be glad to
help you out!
HTH
Sam Masiello
Software Quality Assurance Engineer
Synacor
(716) 853-1362 X289
[EMAIL PROTECTED]
-Original Message-
From
in the database.
When you pull it out of the database, you can use the unserialize()
function to turn it back into an array.
See http://www.php.net/serialize for more information.
HTH
Sam Masiello
Software Quality Assurance Engineer
Synacor
(716) 853-1362 X289
[EMAIL PROTECTED]
-Original Message
On efnet, you can go to #php
HTH
Sam Masiello
Software Quality Assurance Engineer
Synacor
(716) 853-1362 x289
[EMAIL PROTECTED]
-Original Message-
From: Brian Tegtmeier [mailto:[EMAIL PROTECTED]]
Sent: Thursday, August 16, 2001 12:15 PM
To: [EMAIL PROTECTED]
Subject