look at it this way:
you are dealing with an INTERVAL of time, thus the only reason you really
need javascript is in the construction of a date object.
you can either import that object into php as a string, or you can actually
go the extra mile and set the cookie in javascript.
HTH,
DanO
try this:
jldsfajlf;dsajfl;dkfl;dsa
EOP;
?>
AFAIK it is the easiest way to do multi-line printing!
DanO
""Jason Caldwell"" <[EMAIL PROTECTED]> wrote in message
9b868e$2ca$[EMAIL PROTECTED]">news:9b868e$2ca$[EMAIL PROTECTED]...
> Is there a utility
by default, HTML browsers, according to spec, will handle the rendering of
any and all empty cells at the end of a row.
even netscape ;)
so, this is technically not a bug.
my question is how it works when you have 7 photos in a row, or 4?
DanO
-Original Message-
From: James, Yz
how is this type of comment on a mailing list productive?
DanO
-Original Message-
From: Gerald Gutierrez [mailto:[EMAIL PROTECTED]]
Sent: Friday, February 16, 2001 3:26 PM
To: Jonathan Sharp; [EMAIL PROTECTED]
Subject: Re: [PHP] CORBA?
At 02:49 PM 2/16/2001 -0800, Jonathan Sharp
good point. i should think before i post.
here is another go:
i can't test this as i am on a windows box at the moment, but i think you
can get the gist of it.
change the working directory of php and then extract from another file.
DanO
-Original Message-
From: Brandon O
see:
http://www.php.net/manual/en/function.header.php
it works just like JSP.
DanO
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Friday, February 16, 2001 2:01 PM
To: Gerald Gutierrez; [EMAIL PROTECTED]
Subject: Re: [PHP] Specific PHP/JSP questions
have you tried:
mv mytar.tar /my/path/to/dir/; tar -xpf /my/path/to/dir/mytar.tar
this should work, but there may be a more direct unix-y way to do it.
DanO
-Original Message-
From: Brandon Orther [mailto:[EMAIL PROTECTED]]
Sent: Friday, February 16, 2001 1:49 PM
To
a tip:
you'll have to apply the style to both and to make it work in
microscape.
DanO
-Original Message-
From: Brian V Bonini [mailto:[EMAIL PROTECTED]]
Sent: Friday, February 16, 2001 8:23 AM
To: Nguyen, David M
Cc: PHP Lists
Subject: RE: [PHP] How to make text BOLD
How
the problem is obvious: you are trying to send HTML in a plain text email.
see :
http://www.php.net/manual/en/function.mail.php
i would actually recommend that you DO NOT send HTML email and leave it in
plain text.
DanO
-Original Message-
From: Nguyen, David M [mailto:[EMAIL
ables themselves and construct and run the query in a new request using
php.
you use the same page with control structures on it.
DanO
-Original Message-
From: Michael Hall [mailto:[EMAIL PROTECTED]]
Sent: Thursday, February 15, 2001 12:06 PM
To: Matt Davis
Cc: [EMAIL PROTECTED]
Subjec
sorry for the spam, sometime's i'm stupid ;)
yes nathan is indeed correct that SELECTED should only be used once in an
index, on the item you want to show up first.
more clearly, if multiple instances occur, any new instance of SELECTED will
supersede any previous insta
wrong.
you can put it on any element in the list. cut'n'paste and try for
yourself:
selected
DanO
-Original Message-
From: Nathan Cook [mailto:[EMAIL PROTECTED]]
Sent: Thursday, February 08, 2001 5:10 PM
To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Subject: Re: [PHP] Dy
the 'SELECTED' attribute will select an item in a dropdown list.
by default, with no SELECTED attribute, the first item will be shown and
selected.
make sense?
DanO
-Original Message-
From: Todd Cary [mailto:[EMAIL PROTECTED]]
Sent: Thursday, February 08, 2001 5:00 PM
fear not the javascript. it is your friend.
DanO
-Original Message-
From: Ben Wiechman [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, February 06, 2001 12:57 PM
To: [EMAIL PROTECTED]
Subject: [PHP] Error with Cookies and SSI
I am having a problem getting a php script to read a cookie that s
yes, with javascript:
function sendIt(form) {
form.submit();
return true;
}
function startIt() {
setTimeout('sendIt(document.formName)',3000);
}
timeout is in milliseconds.
you could alternately pass document.formName directly to sendIt.
HTH,
DanO
> -Original Messag
why use a DB?
just create an array of dirty words then loop your input thru it with a
regex.
DanO
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Friday, January 19, 2001 11:09 AM
To: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Subject: Re: [PHP] Profanity
cuz i didn't know it existed ;)
my point is that math should be used instead of a regex as it is more
efficient.
DanO
-Original Message-
From: jeremy brand [mailto:[EMAIL PROTECTED]]
Sent: Thursday, January 18, 2001 2:06 PM
To: DanO
Cc: Php-General@Lists. Php. Net
Subject: RE:
why go thru the costly overhead of a regex when you can use math?
ex:
you divide the number by 100 to push the decimal back, and, if there is no
remainder (by modulus division), you append .00 to the variable.
DanO
-Original Message-
From: Robert Collins [mailto:[EMAIL PROTECTED
just write a js function like:
--cut here--
<!--
function changeValue(newValue) {
document.formname.inputNameToChange.value = newValue;
//here is alert to show you the thingy
alert(document.formname.inputNameToChange.value);
}
//-->
label1
label2
--end cutting--
DanO (javascr
in if
(condition) statements.
we all benefit from writing legible code, plain and simple.
DanO
-Original Message-
From: Mark Maggelet [mailto:[EMAIL PROTECTED]]
Sent: Friday, January 12, 2001 11:40 AM
To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Subject: Re: [PHP] mixing HTML and PHP code
it's valid to use single-quotes, double-quotes, or NO quotes.
specs, anyone?
---
The value of the attribute may be either:
A string literal, delimited by single quotes or double quotes and not
containing any occurrences of the delimiting character. (7)
http://www.w3.org/MarkUp/html-
ally), it AIN'T php.
DanO
-Original Message-
From: Jason Murray [mailto:[EMAIL PROTECTED]]
Sent: Thursday, January 11, 2001 3:57 PM
To: 'DanO'; Php-General@Lists. Php. Net
Subject: RE: [PHP] Dynamic 'left menu's' on site: Like a windows
explorersystem???
&g
-side
application of code.
DanO
-Original Message-
From: Alex Black [mailto:[EMAIL PROTECTED]]
Sent: Thursday, January 11, 2001 3:31 PM
To: [EMAIL PROTECTED]
Subject: Re: [PHP] Dynamic 'left menu's' on site: Like a windows
explorersystem???
you have two choices:
yes, p
ok, that makes sense now:
Link
Description";
return $urlstring_new;
}
$script = "asdfasdf.php3";
$varname = "TESTNAME";
echo passDataQuery($script,$varname);
?>
you could alternately perform the dataQuery statements with passDataQuery.
DanO
-Ori
sorry, but i didn't fully understand what you are trying to do.
you can also pass 2 variables to the function:
Click Here";
}
$script = 'asdfasdf.php3';
$company = 'TEST';
testPassVar($script,$company);
?>
-Original Message-
From: DanO [mailto:
you are assigning the variable within the function, then calling the
function with the variable.
this is a variable scoping issue.
try this:
Click";
}
$company = "TEST";
$url = 'asdfasdf.php3?name='.$company;
testPassVar($url);
?>
-Original Message-
From: Abe [mailto:[EMAIL PROTECT
don't forget javascript!
you could validate the form before posting to php.
DanO
-Original Message-
From: jeremy brand [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, January 10, 2001 1:18 PM
To: Robert Ludvik
Cc: [EMAIL PROTECTED]
Subject: Re: [PHP] pause
You could use custom
27 matches
Mail list logo