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

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 fil

Re: [PHP] Javascript & PHP

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

Re: [PHP] Javascript & PHP

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

Re: [PHP] Javascript & PHP

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

Re: [PHP] Javascript & PHP

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

Re: [PHP] Javascript & PHP

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

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; >

[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 = serveradd.

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: JS_TEXT; ?> the

[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 file

Re: [PHP] javascript & php

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

[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 = " "; when I write command echo $color - result is correct. but when i need insert or select some values from d

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 Ja

Re: [PHP] Javascript + PHP

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

[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 are

[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 :   Edição / http://www.iasp.br/iasponline.php?edicao=javascript:document.forms['edicoes'].options[document.forms

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]

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, e-

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

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

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

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

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

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

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

2001-12-18 Thread Martin Towell
the link would be easiest, i think. -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 wind

[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: Link Text and I want that link to open the page info.php?patch=XX in a new popup windo

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 vi

[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 na

[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 r

Re: [PHP] Javascript & php

2001-03-01 Thread Jason Jacobs
ar as I know without submitting the form. Jason - Original Message - From: kaab kaoutar <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Thursday, March 01, 2001 1:00 PM Subject: [PHP] Javascript & php > > Thanks! > Does it mean

[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,

Re: [PHP] JavaScript, PHP and HTML

2001-02-02 Thread kaab kaoutar
t;To: [EMAIL PROTECTED] >Subject: [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

Re: [PHP] JavaScript, PHP and HTML

2001-02-02 Thread Juan
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

[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 Function -> Apache/IIS5 -> Client Properties

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

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

2001-01-27 Thread Jonathan Sharp
om: [ rswfire ] [mailto:[EMAIL PROTECTED]] Sent: Saturday, January 27, 2001 5:25 PM To: [EMAIL PROTECTED] Subject: [PHP] JavaScript/PHP Function -> Apache/IIS5 -> Client Properties I need to get a whole bunch of client properties from a visitor on my site before a page is displayed. I do this usi

[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 cli

Re: [PHP] JavaScript/PHP documentation

2001-01-11 Thread Richard Lynch
thing with PHP and database and all -- Not sure what the current legalities of either of those options are. - Original Message - From: Neil Zanella <[EMAIL PROTECTED]> Newsgroups: php.general Sent: Thursday, January 11, 2001 1:48 PM Subject: [PHP] JavaScript/PHP documentation > >

[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 insta