No need for another connect as long as selecting from same server as the same
user. Perhaps there are no bids for some of the lot_id's? Perhaps you do not
care that there are bids returned and want to shut mysql_num_rows up by
prepending the @ sign in front of it. Like @mysql_num_rows($bid_resul
The following variable needs to be escaped before it can be submitted as an
MySQL query. It seems that the \0 in this string is causing me the problem. I
have tried several functions in an attempt to escape this variable. Anybody
got any other suggestions. The resulting string should look like t
Whenever I am having problems with SQL queries I always display the query on
the page with all the replaced variables so I can make sure that the query
makes sense. If it passes the MySQL parser in my brain and still doesn't
work, I will copy the displayed query into the command line mysql monit
I think what you really want to do is place your downloadable files in a
directory that is not in your httpd's document root and use a password
protected PHP script to access these files and send them to the user after
authentication. I think you could accomplish this with the fpassthru()
funct
How about
date("Y-m-d",strtotime("next Saturday"));
James Hicks
On Tuesday 24 June 2003 08:01 pm, poetbox wrote:
> hi,php-general£¬
>
> We have a meeting at every Saturday,I'd like to post the news and
> write the date of this Saturday every week
On Tuesday 24 June 2003 09:18 pm, poetbox wrote:
> hi, James Hicks£¡
>
> echo date("Y-m-d",strtotime("next Saturday"));
> ?>
> I got "1970-01-01"!
> Perhaps you missing give me the function strtotime().
>
You must be using an old version of
On Tuesday 24 June 2003 11:27 pm, Jay Fitzgerald wrote:
> I seem to be having problem in the last step of this app I am trying to
> create...can you guys test it as thoroughly as you can and give me tips on
> how to improve itit is session based but I cannot seem to get step 5 to
> recognize th
Nevermind this suggestion. No idea what I was thinking. I guess it's time to
go to sleep.
James
On Tuesday 24 June 2003 11:35 pm, James Hicks wrote:
> On Tuesday 24 June 2003 11:27 pm, Jay Fitzgerald wrote:
> > I seem to be having problem in the last step of this app I am trying
On Tuesday 01 July 2003 12:30 am, Tom Rogers wrote:
> Hi,
>
> Tuesday, July 1, 2003, 3:41:56 AM, you wrote:
>
> JB> Also, this may not be PHP but...does anyone know how to stop the
> JB> annoying click on Internet Explorer when something refreshes?
> JB> [/snip]
>
>
> control panel -> sounds -> se
On Saturday 25 October 2003 10:54 am, Joao Andrade wrote:
> Hi there people,
>
> I'm looking for a function that will redirect a browser to another page
> after a PHP scrip has run. I tried serching for it in the doc but found
> nothing. It shall be similar to Tcl's "ns_returnredirect".
>
On Friday 05 December 2003 05:22 pm, John J Foerch wrote:
> Hi,
> Is there some way to turn off maximum execution time? Preferably
> within the script itself?
> Thanks,
> John
set_time_limit(0);
zero is for not timeout, change to # of seconds if you want.
James
--
PHP General Mailing Lis
11 matches
Mail list logo