/function.error-log.php
You can stop individual warnings and messages by putting a @ in front of
them.
Janet
--
Janet Valade -- janet.valade.com
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
-
Do you Yahoo!?
Read only the mail you want - Yahoo! Mail SpamGuard.
--
Janet Valade -- janet.valade.com
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
may have to change the
order of your string, as well as add spaces. Check the manual at
http://us4.php.net/strtotime. IF the database value is in some kind of
MySQL date format, you can perhaps retrieve it as a timestamp. MySQL has
several DATE formats and date/time functions.
Janet
--
Janet
the error message by checking whether
the array element exists before using it (e.g., isset($_POST['op'])). Or
you can just suppress the error message by putting a @ in front of the
variable name.
Janet
--
Janet Valade -- janet.valade.com
--
PHP Database Mailing List (http://www.php.net
If you have a form on your confirm page, with no text fields, just the
submit button, you can use hidden fields in the form to pass the variables
on.
input type=hidden name=var1 value=$var1
--Janet
- Original Message -
From: Kim Kohen [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent:
I have a form in which users create their own login name. The code for
storing the login name they created does something like the following:
$userlogin is the name the user typed in the form
$sql = select loginname from login where loginname='$userlogin';
$result=mysql_query($sql);
$result = mysql_query(select distinct country from search);
Janet
- Original Message -
From: Chris Payne [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, January 16, 2002 1:29 PM
Subject: [PHP-DB] Unique Results?
Hi there everyone,
(Sorry if you got this twice, I don't think