[PHP-DB] Re: Help with AVG()

2011-06-14 Thread Jim Giner
Why not try setting vars to the date values you wish to select and use them in your where clause? You may have something wrong in this complex syntax. Something like: $st_date = today() ?? $end_date = $st_date less 7 days ?? Where rss_feed_date >= $st_date and rss_feed_date <= $end_date btw

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

2011-06-14 Thread Simcha Younger
On Tue, 14 Jun 2011 00:50:39 -0500 Chris Stinemetz wrote: > On Tue, Jun 14, 2011 at 12:31 AM, Chris Stinemetz > wrote: > > I created the below delete function, but it doesn't seem to be working > > correctly. When I enter the correct password it get my echo "Incorrect > > Password Did not Delete

Re: [PHP-DB] problem in connecting to mysql from php

2011-06-14 Thread Abah Joseph
create a file with phpinfo() and make sure mysqli is listed in the loaded modules On Tue, Jun 14, 2011 at 12:07 PM, Niel Archer wrote: > > > Hello everyone, > > > > I am in the process of learning php and I was trying to connect to a > mysql > > database on my own computer(localhost). I have don

Re: [PHP-DB] problem in connecting to mysql from php

2011-06-14 Thread Niel Archer
> Hello everyone, > > I am in the process of learning php and I was trying to connect to a mysql > database on my own computer(localhost). I have done the following as > prerequisites: > > copied the dll files in system32 > removed the semicolon(;) from extension=php_mysqli.dll You should NOT n

[PHP-DB] Re: Help with AVG()

2011-06-14 Thread Ron Piggott
I have continued to work on the average query I need help. I am still needing help. What I don’t understand is why `bible_anagrams_rss_feed`.`rss_feed_date` BETWEEN `bible_anagrams_rss_feed`.`rss_feed_date` AND DATE_SUB( `bible_anagrams_rss_feed`.`rss_feed_date` , INTERVAL -1 WEEK ) won’t