[PHP] Javascript PHP

2006-06-16 Thread Rob W.
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 =

Re: [PHP] Javascript PHP

2006-06-16 Thread Jochem Maas
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;

Re: [PHP] Javascript PHP

2006-06-16 Thread Rob W.
: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

Re: [PHP] Javascript PHP

2006-06-16 Thread Jochem Maas
['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

Re: [PHP] Javascript PHP

2006-06-16 Thread 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

Re: [PHP] Javascript PHP

2006-06-16 Thread Jochem Maas
. [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

Re: [PHP] Javascript PHP

2006-06-16 Thread Rob W.
@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

Re: [PHP] Javascript PHP

2006-06-16 Thread Richard Lynch
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

Re: [PHP] Javascript PHP

2006-06-16 Thread tedd
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

[PHP] Javascript PHP

2005-02-27 Thread timothy johnson
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

Re: [PHP] Javascript PHP

2005-02-27 Thread anirudh dutt
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

[PHP] javascript php

2003-07-28 Thread Roman Duriancik
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

Re: [PHP] javascript php

2003-07-28 Thread Grant Rutherford
$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

[PHP] Javascript + PHP

2002-11-15 Thread SED
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

Re: [PHP] Javascript + PHP

2002-11-15 Thread BigDog
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

Re: [PHP] Javascript + PHP

2002-11-15 Thread Jason Wong
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

[PHP] Javascript PHP cookies

2002-06-08 Thread webmaster
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

[PHP] javascript, php and html commands

2002-02-01 Thread Eduardo Melo
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

Re: [PHP] JavaScript php question - mainly JS though so slightly OT but hep needed!!! :o)

2001-12-19 Thread Martin Hughes
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]

[PHP] JavaScript php question - mainly JS though so slightly OT but hep needed!!! :o)

2001-12-18 Thread Martin Hughes
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

RE: [PHP] JavaScript php question - mainly JS though so slightly OT but hep needed!!! :o)

2001-12-18 Thread Martin Towell
. -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

Re: [PHP] JavaScript php question - mainly JS though so slightly OT but hep needed!!! :o)

2001-12-18 Thread Jim Lucas
, 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

Re: [PHP] JavaScript php question - mainly JS though so slightly OT but hep needed!!! :o)

2001-12-18 Thread Mark
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

Re: [PHP] JavaScript php question - mainly JS though so slightly OT but hep needed!!! :o)

2001-12-18 Thread Jim Lucas
: [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

Re: [PHP] JavaScript php question - mainly JS though so slightly OT but hep needed!!! :o)

2001-12-18 Thread Mark
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,

[PHP] Javascript php / need help

2001-11-09 Thread xrichx
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

Re: [PHP] Javascript php / need help

2001-11-09 Thread Morten Winkler Jørgensen
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

[PHP] JavaScript, PHP cooperation.

2001-09-09 Thread Alexander Deruwe
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

[PHP] Javascript php

2001-03-01 Thread kaab kaoutar
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

[PHP] JavaScript, PHP and HTML

2001-02-02 Thread Augusto Cesar Castoldi
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

Re: [PHP] JavaScript, PHP and HTML

2001-02-02 Thread kaab kaoutar
: [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

[PHP] JavaScript/PHP Function - Apache/IIS5 - Client Properties

2001-01-27 Thread [ rswfire ]
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

RE: [PHP] JavaScript/PHP Function - Apache/IIS5 - Client Properties

2001-01-27 Thread Jonathan Sharp
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

RE: [PHP] JavaScript/PHP Function - Apache/IIS5 - Client Properties

2001-01-27 Thread [ rswfire ]
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

[PHP] JavaScript/PHP documentation

2001-01-11 Thread Neil Zanella
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