Jump to content

IshtarUK

Members
  • Posts

    3
  • Joined

  • Last visited

IshtarUK's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. Fantastic, works perfectly. I appreciate you help!
  2. Hello All I am having a problem trying to transfer variables from PHP to Javascript. My demonstration program: // PHP Demonstration Functions function test { $test = "HELLO WORLD"; process($test); } function process($test) { echo " <script> var jsvar; jsvar = '<?php echo $test;?>' alert(jsvar) </script> "; } The code above does not show the words HELLO WORLD instead the result is: <?php echo HELLO WORLD; ?> If I remove the single quotes it generates a javascript error. This problem has been driving me nuts for the last few hours. I appreciate any help offered. Many thanks Nikki
  3. Dear All I have written an application in C++ which generates system logs and then parses those logs and uploads them to MySQL. I have written some basic PHP scripts to present this data but it's going to take too long to get the framework which I need. I am looking for a PHP class to use as a starting point which will provide a method for uses to query the database and present this data to a webpage. Does such a class exist? Many Thanks Nikki
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.