[PHP] Re: query wildcard

2008-04-27 Thread Amit Patel
Nevermind, I figured it out. Thanks, Amit. On Mon, Apr 28, 2008 at 12:06 PM, Amit Patel <[EMAIL PROTECTED]> wrote: > Hello All, >I have a simple MySQL DB. What I am trying to do is let users create > reports based on date range and account type. > #1) When lets say someone selects a date r

[PHP] Re: query wildcard

2008-04-27 Thread Amit Patel
Hello All, I have a simple MySQL DB. What I am trying to do is let users create reports based on date range and account type. #1) When lets say someone selects a date range and account type = site a/c, the query works OK and results are displayed properly. #2) The problem I have is when someone

Re: [PHP] mysql_connect slowness

2008-04-27 Thread Chris
Waynn Lue wrote: Our site has been slowing down dramatically in the last few days, so I've been trying to figure out why. I ran some profiling scripts on our site and saw that we're spending between 3-9 seconds on mysql_connect. Then I connected to our db and saw that there were over 100 connec

[PHP] mysql_connect slowness

2008-04-27 Thread Waynn Lue
Our site has been slowing down dramatically in the last few days, so I've been trying to figure out why. I ran some profiling scripts on our site and saw that we're spending between 3-9 seconds on mysql_connect. Then I connected to our db and saw that there were over 100 connections at the time,

RE: [PHP] peer review (was php framework vs just php?)

2008-04-27 Thread Jay Blanchard
[snip] Actually it's quite easy. I've got a similar object to the one you guys described (can't really share it - I'm on salary so technically it belongs to my boss.) Anyhow when I do my table layout, if there's a look-up, I name the field "lookuptable_id" in the DB. In my object, it looks for any

Re: [PHP] newbie with php/HTML question

2008-04-27 Thread Rod Clay
Wow, thanks. I can't believe I made this mistake. This group is sooo helpful. I could probably have looked at this another 10 hours and not seen this. Thanks again. Also, I'd like to apologize for the double post. I posted the first with an email address different from the one I subsc

[PHP] newbie with php/HTML/HTTP question

2008-04-27 Thread Rod Clay
I've written my php script to accept either: 1) url parameters, when first invoked (so in this case I'm getting variables out of the $_GET global array), but then I create a form with method=PUT and, when this form is submitted and comes back into this same php script, I'm looking for 2) var

Re: [PHP] newbie with php/HTML question

2008-04-27 Thread Stut
On 27 Apr 2008, at 22:40, Rod Clay wrote: I've written my php script to accept either: 1) url parameters, when first invoked (so in this case I'm getting variables out of the $_GET global array), but then I create a form with method=PUT and, when this form is submitted and comes back into

[PHP] newbie with php/HTML question

2008-04-27 Thread Rod Clay
I've written my php script to accept either: 1) url parameters, when first invoked (so in this case I'm getting variables out of the $_GET global array), but then I create a form with method=PUT and, when this form is submitted and comes back into this same php script, I'm looking for 2) var

Re: [PHP] convert unix time to Gregorian

2008-04-27 Thread Nathan Nobbe
On Sun, Apr 27, 2008 at 12:27 PM, Yui Hiroaki <[EMAIL PROTECTED]> wrote: > hi! > I am try to change unix time to Gregorian. > > I successfully convert unix time to Gregorian. > But Gregorian time is now showing hour and second and more detail time. > > $unix_timestamp="1208764059"; > echo "$unix_

[PHP] convert unix time to Gregorian

2008-04-27 Thread Yui Hiroaki
hi! I am try to change unix time to Gregorian. I successfully convert unix time to Gregorian. But Gregorian time is now showing hour and second and more detail time. "; $julius=unixtojd($unix_timestamp); $Gregorian=jdtogregorian("$julius"); echo "$Gregorian"; ?> Above code showing the result onl

[PHP] IMAP errors

2008-04-27 Thread Naz Gassiep
I'm using PHP's IMAP functions, and they seem to be working fine, however, on the page where I call imap_fetchstructure() I get a string of errors at the very end of the script. they do not occur at the point the function is executed, rather at the very end. They do not specify where they actu