[PHP] % character in sprintf

2002-03-03 Thread Job Miller
how do i escape the % character to appear in a sprintf statement? it doesn't mention that in the sprintf php manual page. job __ Do You Yahoo!? Yahoo! Sports - sign up for Fantasy Baseball http://sports.yahoo.com -- PHP General Mailing List

RE: [PHP] PHP and CGI

2002-02-12 Thread Job Miller
You can not include php as the output of a perl cgi. the server processes the cgi request, and spits out its results. if the result is php code, it isn't reprocessed by the server. javascript can be printed out, because it is the browser that processes js. php is not processed by the browser.

Re: [PHP] Re: Post CGI variable to PHP

2002-01-10 Thread Job Miller
to post to a PHP script from within perl, you would either define a form in the perl script that has a submit button whose action is a php script, or you can use the LWP module in Perl to generate a POST for you. this will post the stuff to the php script and fetch the results. it isn't a redire

Re: [PHP] Good host needed

2001-11-29 Thread Job Miller
take a look at modwest, unix based great speed and service so far for me. $10/month gets me 100MB and 2GB transfer/month. obviously they have a lot higher options as well as dedicated hosting. job --- "Richard S. Crawford" <[EMAIL PROTECTED]> wrote: > I've had good luck with www.pair.com > > >

Re: [PHP] Re: mysql transactions/rollback

2001-10-18 Thread Job Miller
TED]> wrote: > In article > <[EMAIL PROTECTED]>, > [EMAIL PROTECTED] (Job Miller) wrote: > > > without save points and rollback what is the best > way > > to replace all records for a user that might have > been > > edited with their new values. >

[PHP] mysql transactions/rollback

2001-10-18 Thread Job Miller
without save points and rollback what is the best way to replace all records for a user that might have been edited with their new values. I have read the mySQL manual about this. Update is out of the question (as the manual suggests). I can't track which ones changed, because they could have b

Re: [PHP] associative array syntax question - got it!

2001-10-03 Thread Job Miller
sky (PHPBeginner.com) > [mailto:[EMAIL PROTECTED]] > Sent: giovedi 4 ottobre 2001 2.02 > To: 'Job Miller' > Subject: RE: [PHP] associative array syntax question > > > > I tried on winXP/PHP4.0.6/Apache > >$a = Array('print me'); >

RE: [PHP] associative array syntax question

2001-10-03 Thread Job Miller
t; <[EMAIL PROTECTED]> wrote: > Strange, I always though it should be working. > > Have you tried $a[{$b['b']}] ? > > What version of PHP are you running? > > Maxim Maletsky > www.PHPBeginner.com > > > > -Original Message- > From:

[PHP] associative array syntax question

2001-10-03 Thread Job Miller
why does: print $a[$b['b']] return: parse error, expecting `T_STRING' or `T_VARIABLE' or `T_NUM_STRING' but if I do it in two steps like: $c=$b['b']; print $a[$c]; it works fine. I have tried dozens of syntax combinations using quotes, no quotes, on one or both and can't get anything to work.