Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  • Users: fswa
  • Order by date
  1. fswa

    Placing Javascript inside of PHP file

    Hello, I am having an issue placing some javascript into a .php header file. I have tried to incorportate it into the scripting, but all I get is php errors. I want to place a pop-up window script on a log-out link so that members who are leaving the site are asked if thats what they want to...
  2. fswa

    Using Javascript within PHP

    This is part of the file where I added the code. include('php/functions.php'); if (!isset($_SESSION['logged_in'])) $_SESSION['logged_in'] = False; if ($_SESSION['logged_in']) { $status = $_SESSION['first_name'].' '.$_SESSION['last_name'].' - Logged In'; } else $status = 'You Are Not...
  3. fswa

    Using Javascript within PHP

    I did it two different ways. One I changed the outside ' to be " and then did visa versa. One time it gave the same error and the next time it froze and the whole site wouldn't come up.
  4. fswa

    Using Javascript within PHP

    Didn't work.
  5. fswa

    Using Javascript within PHP

    States I am getting a parse error on line 28 Line 28 reads print ' agree=window.open('prelogout.html','prelogout','height=400,width=500,screenX=400,screenY=250,top=250,left=400');';
  6. fswa

    Using Javascript within PHP

    Hello, I am having an issue placing some javascript into a .php header file. I have tried to incorportate it into the scripting, but all I get is php errors. I want to place a pop-up window script on a log-out link so that members who are leaving the site are asked if thats what they want to...

Part and Inventory Search

Back
Top