I'm tweaking my internet speed tester thingamabob
(http://www.dibcomputers.com/bandwidthmeter/index.php) and am rather
stumped. Currently, I'm grouping together all results from each domain (all
results from, say, adelphia.net are averaged and displayed as one, etc) and
to that end I stopped
:
That way you are guaranteed it's a number not a string.
Cheers - Neil
Message-ID: [EMAIL PROTECTED]
From: Dan Bowkley [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Date: Sun, 9 May 2004 15:17:19 -0700
MIME-Version: 1.0
Content-Type: text/plain;
charset=iso-8859-1
Content-Transfer
-dibcomputers/index.php?id=456456456%20%20OR%2012
Dan Bowkley [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
got it...rather than return false, mysql_result throws an error if the
query
returns nothing. What a pain.
Finished product at
http://www.dibcomputers.com/new
The 404 page is also inserted into the template, or at least that's the
idea...index.html?id=404 is the error page. ?id=1 is the main page, other
pages are numbered accordingly.
- Original Message -
From: Justin Gruenberg [EMAIL PROTECTED]
To: Dan Bowkley [EMAIL PROTECTED]
Cc: [EMAIL
I've come up with this:
if (mysql_result ( mysql_query (SELECT id FROM dibcomp_site WHERE id =
$page_req),0)) {$thisid = 404;} else {$thisid = $page_req;}
and, well, it doesn't work. I think it really ought to...
got it...rather than return false, mysql_result throws an error if the query
returns nothing. What a pain.
Finished product at
http://www.dibcomputers.com/new-dibcomputers/index.php.txt if anyone wants
to steal it...
D
- Original Message -
From: Dan Bowkley [EMAIL PROTECTED]
To: [EMAIL
Yeah, I'm back...
I'm revamping my own site, finally...going for the same sort of dynamic system I was
using for my last creation. Currently, I have index.php returning lots of different
pages from a mysql database; what I'd like to do is have a somewhat more elegant
solution for spitting
Anyone?
- Original Message -
From: Dan Bowkley [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Sunday, May 02, 2004 1:21 AM
Subject: [PHP-DB] lamer noob with repeat question
Hello everyone,
I've been working on (read:tearing my hair out over) my mom's website for
some time now
okay, please help the newbie idiot. Forgive me, for I cannot code my way out of a
paper bag.
What, O great Oracle of PHP Goodness is wrong with this picture? When I punch in a
work order, it spits back a blank page and does nothing whatsoever with the db. Even
if I deliberately enter a
So I'm building this website; the first I've tried to build using a mostly dynamic
structure. What I've done is create a mysql table, with two fields: id and page_val.
The idea is you call the page like http://www.someplace.com/page.php?id=404 and it'll
spit back (in this case) the infamous
10 matches
Mail list logo