Re: [PHP] Re: why does this not work?

2005-09-28 Thread Lendy Chen
script if (screen.width1064) { document.write(link src=\style1.css\ type=\text/css\ rel=\stylesheet\); } else { document.write(link src=\style2.css\ type=\text/css\ rel=\stylesheet\); } /script or use cookie, js write screen.width to cookie,then php read screen.width from cookie.

[PHP] Re: why does this not work?

2005-09-27 Thread Oliver Grätz
Ross schrieb: $width = script document.write(screen.width); /script; //$ross= intval($width); Yes, this is and will always be zero, because you are evaluating a string to an integer value. echo $width; if ($width 1064) { echo lower; $style= style1.css; } else { $style= style2.css;

Re: [PHP] Re: why does this not work?

2005-09-27 Thread Jochem Maas
bit off the point but... Oliver Grätz wrote: Ross schrieb: $width = script document.write(screen.width); /script; //$ross= intval($width); Yes, this is and will always be zero, because you are evaluating a for his paricular $width string, yes. string to an integer value.

[PHP] Re: why does my querry work in the mysql client but not in php?

2002-08-29 Thread Jean-Christian Imbeault
Have you looked at what the value of what $result is? It might be informational. Jc -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: Why does this not work??

2002-04-22 Thread CC Zona
In article [EMAIL PROTECTED], [EMAIL PROTECTED] (Jeffrey Means) wrote: In using the setcookie function I can not set a cookie if I specify a time period. ie. setcookie(Cookie_Name, Cookie_Value, time()+30); will not set a cookie, but setcookie(Cookie_Name, Cookie_Value); does work. What

Re: [PHP] RE: why does it not work (fwd)

2001-05-22 Thread Adrian D'Costa
On 22 May 2001, Chris Searle wrote: Adrian == Adrian D'Costa [EMAIL PROTECTED] writes: Adrian // sql statement $searchStmt = select special.contid, Adrian special.cityid, special.curr1, special.catalogo, Adrian special.hf, special.curr2, special.vitofferta, special.fh,