At 4:06 PM -0500 6/16/06, Richard Lynch wrote:
>On Fri, June 16, 2006 3:51 am, Rob W. wrote:
>> Ok. I am trying to figure out if this would be the correct thing to
>> do. I start off with Java script that looks like this.
>
>As far as PHP is concerned, Javascript is just "more HTML".
As far as PHP
On Fri, June 16, 2006 3:51 am, Rob W. wrote:
> Ok. I am trying to figure out if this would be the correct thing to
> do. I start off with Java script that looks like this.
As far as PHP is concerned, Javascript is just "more HTML".
Just cram it into the text of your HTML, or put it into a .js fil
MAIL PROTECTED]>
Cc:
Sent: Friday, June 16, 2006 4:55 AM
Subject: Re: [PHP] Javascript & PHP
Rob W. wrote:
Well for example
when I pull my mysql db variable
$serverid=mysql_result($result,$i,"serverid");
How do I bind it so this ^^ to the java var below?
(I hope englis
ge - From: "Jochem Maas" <[EMAIL PROTECTED]>
> To: "Rob W." <[EMAIL PROTECTED]>
> Cc:
> Sent: Friday, June 16, 2006 4:26 AM
> Subject: Re: [PHP] Javascript & PHP
>
>
>> Rob W. wrote:
>>> Well i'm trying to figure out how
>
To: "Rob W." <[EMAIL PROTECTED]>
Cc:
Sent: Friday, June 16, 2006 4:26 AM
Subject: Re: [PHP] Javascript & PHP
Rob W. wrote:
Well i'm trying to figure out how to bind the php variables to the
javascript variables after I pull them out of the mysql database.
something l
int completely?
>
> - Rob
>
> - Original Message - From: "Jochem Maas" <[EMAIL PROTECTED]>
> To: "Rob W." <[EMAIL PROTECTED]>
> Cc:
> Sent: Friday, June 16, 2006 4:13 AM
> Subject: Re: [PHP] Javascript & PHP
>
>
>> Rob W.
Friday, June 16, 2006 4:13 AM
Subject: Re: [PHP] Javascript & PHP
Rob W. wrote:
Ok. I am trying to figure out if this would be the correct thing to do. I
start off with Java script that looks like this.
/*
function getType(what,available,owner) {
var serverid = server
Rob W. wrote:
> Ok. I am trying to figure out if this would be the correct thing to do. I
> start off with Java script that looks like this.
>
> /*
> function getType(what,available,owner) {
> var serverid = serveradd.serverid.value;
> var cabinetid = serveradd.cabinetid.value;
>
use php to output the javascript code just as u'd do it for html
(since the javascript code is IN the html).
if ur js is ready:
JS_TEXT;
?>
the
$color = "
";
$query = mysql_query("select id from color where color = '$color' ");
$a = mysql_num_rows($query);
Actually, what you want to do is possible, but difficult.
If you are willing to tolerate a page refresh, you can use this code to
On Saturday 16 November 2002 07:07, SED wrote:
> I need to finish a project using PHP and JavaScript but the references
> for JavaScript I'm using is rather old. I'm looking for a JavaScript
> postlist similar to this but without any luck. I have tried Google but
> it finds every site containing Ja
http://groups.google.com/groups?hl=en&lr=&ie=UTF-8&group=comp.lang.javascript
On Fri, 2002-11-15 at 23:07, SED wrote:
> I need to finish a project using PHP and JavaScript but the references
> for JavaScript I'm using is rather old. I'm looking for a JavaScript
> postlist similar to this but with
Many Thanks everyone!!
Mart
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]
On Tue, 18 Dec 2001 16:16:20 -0800, Jim Lucas wrote:
>the bad thing is, it will still stop the browser from finishing the
>loading
>of the page.
not in any browser I've tried.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-
CTED]>
Sent: Tuesday, December 18, 2001 4:16 PM
Subject: Re: [PHP] JavaScript & php question - mainly JS though so slightly
OT but hep needed!!! :o)
On Tue, 18 Dec 2001 15:58:10 -0800, Jim Lucas wrote:
>actually Martin, that is what Martin was doing.
>href="javascript:function_na
, including
>the
>images that havn't finished.
>
>Jim
>- Original Message -
>From: "Martin Towell" <[EMAIL PROTECTED]>
>To: "'Martin Hughes'" <[EMAIL PROTECTED]>; [EMAIL PROTECTED]>
>Sent: Tuesday, December 18, 2001 3:05 PM
>Subje
MAIL PROTECTED]>
Sent: Tuesday, December 18, 2001 3:05 PM
Subject: RE: [PHP] JavaScript & php question - mainly JS though so slightly
OT but hep needed!!! :o)
> if you have lots of links, then doing it this way, IMO, would be
> easier/better - so:
>
> function windowPopup(xx) { w
if you have lots of links, then doing it this way, IMO, would be
easier/better - so:
function windowPopup(xx) { window.open("info.php?patch="+xx, "_new",
"windowattribs"); }
but if there's only a few links, then placing the window.open code in the
link would be easiest, i think.
-Original
x> The problem is, i need a javascript which i can write into the database,
x> which on the oher side can read out a php SESSION. Is this possible?
x> Yes? how?
Javascript in browser
php on server
Pass varibales from javascript -> php via urls and forms
Pass varibales from php -> javascript vi
Not exactly. I mean, like I said, you can execute a script as the action,
but if you have output generated by the script, a redirect using header() or
a javacsript redirect won't work (I think). You could either write all of
the output (don't ask me how, but I'm sure it's possible) to a file,
re
hi!
if u wanna use javascript the code should be added in html!
but it's better to use php for checking date and hour !
As long as u use php technologie get rid of these client side stuff till
it's necessary!
cheers
>From: Augusto Cesar Castoldi <[EMAIL PROTECTED]>
>To: [EMAIL PROTECTED]
>Sub
ACC> But know I want to but an JavaScript to verify if a date/hour is a valid
ACC> format for MySQL.
ACC> Where should I put the JavaScript? In .php or .html?
Well you could actually put it in both, although it is easier to put
it the html since it avoids too much embeding.
ACC> Or I should check
l getting the same
problem.
I don't exactly understand your code below. First of all, I do not want to
use cookies at all - not anywhere on my network. Too much controversy. So
I take advantage of the database in that respect. Secondly, does the code
example below automatically sub
Hm...I'm not sure I completely understand...but I believe that you're trying
to gather as many stats from the client as possible?
What about having a page that is somewhat transparent to the user (if they
support JS) that you have something like this...
function GetProperties()
{
docume
I *think* the JavaScript (and DHTML and whatnot) utilize server-side code to
detect your browser and come up with different code.
The alternative is to crash some browsers, which is not so nice. :-^
I think some complaints were even received at php.net from other webmasters
who stole the site wh
25 matches
Mail list logo