RE: [PHP-DB] Date Translation in MySQL

2008-08-05 Thread Simcha Younger
Select * FROM ... WHERE DAYOFWEEK(datecol)=7 -Original Message- From: Ben Miller [mailto:[EMAIL PROTECTED] Sent: Tuesday, August 05, 2008 8:10 PM To: PHP. DB Mail List Subject: [PHP-DB] Date Translation in MySQL I'm looking for a quick and simple way to query a MySQL database by date, or

RE: [PHP-DB] Delicious style Tags table

2008-09-11 Thread Simcha Younger
7; AND GROUP_CONCAT('name') like 'vegetarian' group by taggings.id You probably awnt a LEFT JOIN instead of a Simcha Younger -Original Message- From: Catharsis [mailto:[EMAIL PROTECTED] Sent: Thursday, September 11, 2008 1:41 PM To: ph

RE: [PHP-DB] Delicious style Tags table

2008-09-11 Thread Simcha Younger
I did a little testing, and this should work better: Select... From... group by taggings.id HAVING GROUP_CONCAT('name') like 'soup' AND GROUP_CONCAT('name') like 'vegetarian' Simcha Younger -Original Message- From: Catharsis [mailto:[EMAIL

Re: [PHP-DB] Trying to make site map

2010-01-03 Thread Simcha Younger
} > > } > > } > > The results I am getting are incomplete, it

Re: [PHP-DB] Re: Stuck in apostrophe hell

2010-08-04 Thread Simcha Younger
Phone, > > Email > > ) > > VALUES ( > > $_POST[Class_ID], > > $_POST[prid], > > '%s',". You need double-quotes here, \"%s\", > > parseNull($_POST['Company']).", > > '$_POST[Phone]'

Re: [PHP-DB] jpgraph and mysql passing array

2011-03-24 Thread Simcha Younger
p variables. > > > // I think this is where I am having issues. > try instead '; ?> -- Simcha Younger -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DB] Re: delete message function

2011-06-14 Thread Simcha Younger
exit; > } It sounds like the password is not set in the database. What do you get if you dump the result of your first query? Also, you should avoid extract, it litters your code with dead and untraceable variables. Use $array['msg_Passowrd'] instead. -- Simcha Younger -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php