Being the golf enthusiast I am, I'm always visiting a few interesting golf
stie. The one I visit most is www.golfinohio.com. They have a rotating
banner ad at the top of their page, but, as I view the source of the page,
I notice that it displays one image on some banners, two or three on other
$data=mysql_fetch_row($result);
$count=$data[0];
That's it!
On Mon, 6 Aug 2001, Jeremy Morano wrote:
> hi,,,
>
> can someone tell me how to access the value of count? please?
>
> -
> $db = @mysql_select_d
You should look in one of the following areas:
/etc
/etc/httpd
/etc/httpd/conf
/user/local
You may also want to use the locate instead of find. locate php.ini
should do it.
Michael Ridinger
On Wed, 28 Mar 2001, Zhu George-CZZ010 wrote:
> Someone else installed the PHP4.0.4, but I couldn't f
How about something like this:
$secs = number of seconds;
$hours = intval($secs/360);
$minutes = intval(($secs-$hours*360)/60)
$seconds = $secs - $hours*360 - $minutes * 60;
Hope this helps.
Michael Ridinger
On Mon, 19 Mar 2001, Yoshi Melrose wrote:
> Can someone direct me or send me a scrip
You could use: select char(rand(128));
Will dispaly character with ascii value of 0 - 128.
Thanks,
Michael Ridinger
On Fri, 9 Mar 2001 [EMAIL PROTECTED] wrote:
> I know it is possible to generate a random number using rand() I don`t
> suppose there is anyway to generate a random letter seq
Check your php.ini file.
The line for error report is set to E_ALL by default. Change it to
E_PARSE so that minor errors (like the one you mentioned) aren't reported
to the screen.
Thanks.
On Fri, 23 Feb 2001, Greg Kopp wrote:
> I am using PHP4 + MySQL + PWS + Windows 98.
>
> We are tryi
Yes... you can use the explode function.
Example:
if $item where "Hello,There", $parts[0] would = "Hello" and $parts[1]
would = "There".
Thanks,
Mike Ridinger
On Fri, 23 Feb 2001, Todd Cary wrote:
> I have a comma delimited string that I need to parse into an array. Is
> there a PHP funct
7 matches
Mail list logo