Passing JS to PHP


Posted on 16th Feb 2014 07:03 pm by admin

So I have the following
Code: <?php
getdetails(?><script type="text/javascript">document.write(jsvariable)</script><?php );?>
The idea is that the getdetails() will process the JS output rather than doing mysite.com?data=jsoutput as I REALLY REALLY RALLY dont want urls like that. So why cant I get it to work, I think I have a syntax problem with opening and closing the getdetails()

Any help appreciated

No comments posted yet

Your Answer:

Login to answer
130 Like 15 Dislike
Previous forums Next forums
Other forums

Help with file_get_html
The following code gives the expected results:

<html>
<head&g

Phase Error I can't seem to find :(`
Hey guys, I can seem to find my phase error on this. I am getting this error

[error]
Pars

Firewall / visited websites logger
Hi. I have a firewall implementation and I want to log all the websites visited on the machine. S

present value of sequence?
Hi

Please help me to find out the present value of sequence?

Thanks

ORA-00932: inconsistent datatypes: expected - got CLOB
SO : windows xp
database : XE

there is a table (transito) with two fields of clob

quotes changing
hi all

in my content

opening quotes " changes to “

close qu

import table with dependency
Hi

What is the best way to import table back which has dependency?

SQL> cre

Return X values where an ID number doesnt matter
Well as for subject heading, thats the best i could think of.

Currently im having a problem w

Hits this week counter
I have a counter on my site that tracks hits, IP's, etc. into a mySQL database. It also includes the

i have no idea why this isn't working
Code: <?php
session_start();
include("connect.php");

error_reporting(E

Sign up to write
Sign up now if you have flare of writing..
Login   |   Register
Follow Us
Indyaspeak @ Facebook Indyaspeak @ Twitter Indyaspeak @ Pinterest RSS



Play Free Quiz and Win Cash