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

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

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

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

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

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

Re: [PHP] Javascript & php

2001-03-01 Thread Jason Jacobs
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

Re: [PHP] JavaScript, PHP and HTML

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

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

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

Re: [PHP] JavaScript/PHP documentation

2001-01-11 Thread Richard Lynch
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