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;
var rowid =
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;
: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 = serveradd.serverid.value;
var cabinetid
['serverid'];
?
... etc
or am I missing the point completely?
- Rob
- Original Message - From: Jochem Maas [EMAIL PROTECTED]
To: Rob W. [EMAIL PROTECTED]
Cc: php-general@lists.php.net
Sent: Friday, June 16, 2006 4:13 AM
Subject: Re: [PHP] Javascript PHP
Rob W
: php-general@lists.php.net
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 like this? ...
$data
. [EMAIL PROTECTED]
Cc: php-general@lists.php.net
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 like
@lists.php.net
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 english is not you first language - or maybe you
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 file
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 is
I am trying to make a small menu system using javascript, but the
values that I want to use come from php/mysql. I can get the code to
work when I type in the values but when I try to use php. it doesnt
process the php. you view source and you can see the php functions. I
have tried naming the
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:
?php
echo JS_TEXT
script language=javascript!--
...
//--/script
JS_TEXT;
?
the script part could be the code or a link to the file which u'd use as
link rel=...
[some
I have problem with variables in javascript and php.
I have code in php and in this code I insert some values from javascript.:
$color = script!--
document.write(screen.colorDepth)
//--
/script;
when I write command echo $color - result is correct.
but when i need insert or select some
$color = script!--
document.write(screen.colorDepth)
//--
/script;
$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
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 JavaScript where a postlist is mentioned.
Since there
http://groups.google.com/groups?hl=enlr=ie=UTF-8group=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 without
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
Is it possible to read cookies from javascript
written by PHP and vice-versa?
Just out of curiousity
JJ Harrison[EMAIL PROTECTED]www.tececo.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
My somebody help me solve the code below ?
A have a COMBO called ~edicoes~ and i must to use the option selected to
open an URL as shown below :
SELECT name=edicoes
?
$sql = select num_edicao from edicao where flg_edicaocorrente = 'S';
$result = @mysql_db_query(iasp, $sql) or die
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]
How could I write the function windowPopup(XX) where XX is a variable that
can change from link to link, for a popup info window to load a php file
with the variable XX in the url?
So the link would look like:
a href=javascript:windowPopup(XX);Link Text/a
and I want that link to open the page
.
-Original Message-
From: Martin Hughes [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, December 19, 2001 9:54 AM
To: [EMAIL PROTECTED]
Subject: [PHP] JavaScript php question - mainly JS though so slightly
OT but hep needed!!! :o)
How could I write the function windowPopup(XX) where XX
, 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:
script
function windowPopup(xx) { window.open(info.php?patch=+xx, _new,
windowattribs
will stop downloading, including
the
images that havn't finished.
Jim
- Original Message -
From: Martin Towell [EMAIL PROTECTED]
To: 'Martin Hughes' [EMAIL PROTECTED]; php-
[EMAIL PROTECTED]
Sent: Tuesday, December 18, 2001 3:05 PM
Subject: RE: [PHP] JavaScript php question - mainly JS though so
: [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_name() calls to a js function.
my suggestion would be to write it this way.
a href
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,
The problem is, i need a javascript which i can write into the database,
which on the oher side can read out a php SESSION. Is this possible?
Yes? how?
It's for a navigation bar wich gets the names of links in the navigation
bar out of the database, and i have a SESSION where he writes in, the
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 via
Hewwo,
When selecting a value from a combobox, I always have a link that allows
adding a record to the table the combobox pulls it's data from. Here is my
problem:
Is it possible in any way to window.open() a popup window (JavaScript), fill
in a record, add it to the database (PHP) and then
Thanks!
Does it mean that there is no way to execute a php statement
after the click of a button ? then go to the other page mentionned in the
form action ?
From: "Johnson, Kirk" [EMAIL PROTECTED]
To: "'kaab kaoutar'" [EMAIL PROTECTED]
Subject: RE: [PHP] plese help!
Date: Thu, 1 Mar
I have a .html page, that is "called" (openfile) by .php script. I did
that to the designer have more freedon.
But know I want to but an JavaScript to verify if a date/hour is a valid
format for MySQL.
Where should I put the JavaScript? In .php or .html?
Or I should check the date and hour on
: [PHP] JavaScript, PHP and HTML
Date: Fri, 2 Feb 2001 09:16:00 -0200 (EDT)
I have a .html page, that is "called" (openfile) by .php script. I did
that to the designer have more freedon.
But know I want to but an JavaScript to verify if a date/hour is a valid
format for MySQL.
Where sh
I need to get a whole bunch of client properties from a visitor on my site
before a page is displayed. I do this using JavaScript. I first determine
if the visitor's browser supports JavaScript, and if it does I run a
function that basically builds a temporary page and returns a bunch of
im/her...
Cheers,
-Jonathan Sharp
Director of Technology - Imprev Inc.
Renwick Development Group - Flyerware
http://www.flyerware.com/
Phone: (425)688-9200
Cell: (425)766-1398
EPage: [EMAIL PROTECTED]
-Original Message-
From: [ rswfire ] [mailto:[EMAIL PROTECTED]]
Sent: Saturday, Janua
rstand 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 submit itself?? I've never seen that done
before...
Robert
Fr
Hello,
I have noticed that while the JavaScript/PHP documentation looks much
nicer only an HTML version of the PHP documentaion is distributed.
I would like to know whether it would be possible to obtain the
original much more pleasant to read JavaScript/PHP documentation
so that users may
35 matches
Mail list logo