Windows 7 Forums
Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.


Windows 7: any php, js , PEAR expects here that can help me?

20 Apr 2010   #1
friedrice

windows 7 professional
 
 
any php, js , PEAR expects here that can help me?

ok im makin a gmap website for a uni subject
its in PEAR templates
problem i can seem to access the php variable in my js script

in test.php
i got
$address= $_POST['address']; which gets it from input in prev page

connected to dat php page is a test.tpl file where all html and js is there
i tried this and all sort of methods
var myVar = "<?php echo $address; ?>";
alert(myVar);

but all it shows it <?php echo $address; ?> in the alert box

i need that address value so i can pinpoint it on a gmap by calling a function like dat

showAddress(<?php echo $address; ?>);return false;


any ideas how to resolve it?
thx


Attached Files
File Type: zip ResultDoctor.zip (3.5 KB, 13 views)
My System SpecsSystem Spec
20 Apr 2010   #2
Pontii

Windows 7 Better then yours
 
 

Well you need to end it correct.
Send me a pm and i'll fix the code for you
My System SpecsSystem Spec
20 Apr 2010   #3
friedrice

windows 7 professional
 
 

cool i send u 2 pms since i cant fit both codes in one pm
and not sure bout attachments here since im still new here
thx alot for ur help
My System SpecsSystem Spec
.

20 Apr 2010   #4
Dark Nova Gamer

Windows 7 Ultimate, OS X 10.7, Ubuntu 11.04
 
 

Quote   Quote: Originally Posted by friedrice View Post
cool i send u 2 pms since i cant fit both codes in one pm
and not sure bout attachments here since im still new here
thx alot for ur help
So you know, the current private messaging system here does not support attachments.

Something you could do is try wrapping the code inside the code tag [code ] [/code ] (without the spaces).

Example.

Code:
Google announced today via their official blog that they have released a tool 
showing requests for data that governments have made around the world. To open the 
blog they quote article 19 of the Universal Declaration on Human Rights  which states 
that "everyone has the right to freedom of opinion and expression; this right includes 
freedom to hold opinions without interference and to seek, receive and impart 
information and ideas through any media and regardless of frontiers."
My System SpecsSystem Spec
20 Apr 2010   #5
friedrice

windows 7 professional
 
 

yeah i did realised dat it doesnt support attachments also
oh as mite as well add the codes on my prev post if anyone can help me
My System SpecsSystem Spec
21 Apr 2010   #6
friedrice

windows 7 professional
 
 

any one can help me?
My System SpecsSystem Spec
22 Apr 2010   #7
friedrice

windows 7 professional
 
 

dw i solved my problem gmap works :P
My System SpecsSystem Spec
Reply

Thread Tools


Similar help and support threads
Thread Forum
Is there anywhere I can download Pear Linux 8 to run on VirtualBox?
I have been looking through Free Linux OS's and came across Pear Linux which looks amazing! But they discontinued the downloads of all Pear Linux. I am looking for ANY site that might have Pear Linux 8. Thanks!
Virtualization
Google Earth goes pear shaped
Whenever I use the radio button to view a location in Google Maps an error occurs. Google earth has stopped working A problem caused the program to stop working properly Windows will close the program and notify you if a solution is available Does anyone know what the cause could be and have...
Software
program expects a certain drive letter.....
I installed a drum loop program and it installed just fine. I insert the cd to use the program and it gives me a dialog box about insert cd into drive d:/ , the problem is my cd rom is actually e:/ it gives me no option to tell it that. Is there a way around this? my main system drive is C:, then...
General Discussion


Our Sites

Site Links

About Us

Find Us

Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd

All times are GMT -5. The time now is 01:48.
Twitter Facebook Google+ Seven Forums iOS App Seven Forums Android App