Re: [PHP-DB] Warnings and Notices

2005-01-06 Thread Janet Valade
/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

Re: [PHP-DB] Help in learning PHP and MySQL

2004-12-30 Thread Janet Valade
- 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

Re: [PHP-DB] -14 Days Ago

2004-10-08 Thread Janet Valade
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

Re: [PHP-DB] error

2004-09-28 Thread Janet Valade
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

Re: [PHP-DB] Getting data from a page which isn't a form

2002-04-28 Thread Janet Valade
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:

[PHP-DB] ensuring unique field value in MySQL using PHP

2002-01-28 Thread Janet Valade
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);

Re: [PHP-DB] Unique Results?

2002-01-16 Thread Janet Valade
$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