Hi, I was wondering if it would be possible to get the page height
using php?
The reason I would like to do this is so that I can include a link to
the top of the page if the page is long enough, but not to display it
for very short pages (where it would not be needed:)
Cheers for your help,
Don
Hi, I would like to check whether a variable, $type, is equal to a
number of different possible states. I know I could use
if ( $type == "abc" || $type == "bcd") { $a = b }
but this would get a bit clumsy if I had to check whether it is say
one of 20 different things.
What I was wondering is, is
Brian Clark <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
| Hi DRN,
| Try this and see if it functions correctly:
|
|
|
That works great, thanks Donald
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL
Hi, I have a MySQL table recording errors, 1 of the fields is a
DATETIME, to give me the time of the error.
I have made a file which will then display a table of errors.
I would like to display the date and time in a more readable format,
even just with spaces between the years & months etc.
Hav
Lindsay Adams <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
okay. your solution is not going to scale well, is it. if you have
more than
nine items, you have to rewrite your code.
I (sort of) understand your solution, but I don't see how my solution
is not goi
Kurth Bemis <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
| At 03:59 PM 4/9/2001, DRN wrote:
| you need to make sure that ALL your curly brackets are closed and
that all
| lines that require semi-colons have them
|
| ~kurth
D'oh, I don&
Lindsay Adams <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
| This is exactly what I sent you.
| You have to realize that you can't print down one column, and then
start a
| new one.
| You have to print across, left to right before you go down.
| You have to mo
Hi, I am trying to include a header to my document, I my problem is I
keep getting a parse error on the line after the header ends. I cannot
see what is causing this, can someone see what I have done wrong, the
code is below.
Cheers for your help, Donald
Accessible Computers
";
Lindsay Adams <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
| Assuming your items are in an array
| $items =array() //assume a bunch of items in this array
| For($i = 0; $i< (count($items)/3); $i +=1){
| printf("%s\t%s\t%s",$items[$i],$items[$i+3],$items[$i
Hi,
I would like to display a list of products from a MySQL database in 3
columns. as shown below:
Product A Product D Product G
Product B Product E Product H
Product C Product F
The problem I have is I don't know how many products there will be, so
I can't just print ou
Hi,
I would like to display a list of products from a MySQL database in 3
columns. as shown below:
Product A Product D Product G
Product B Product E Product H
Product C Product F
The problem I have is I don't know how many products there will be, so
I can't just print ou
Hi, I am a newbie in the field oh php and databasing, but I would like
to learn a bit to create a database driven site. I want to have a
database with products, and the html pages for the products and
categories are 'built' automatically from templates.
First of all, am I right in thinking that P
12 matches
Mail list logo