Go Back   CodingForums.com > Search Forums

Before you post, read our: Rules & Posting Guidelines

Showing results 1 to 3 of 3
Search took 0.09 seconds.
Search: Posts Made By: NafaB
Forum: JavaScript frameworks 03-04-2013, 04:00 PM
Replies: 3
Views: 302
Posted By NafaB
In case anyone was wondering I managed to sort...

In case anyone was wondering I managed to sort the code by instead of using

<?php include ("header.php") ?> and the javascript IF statement I used

<?php
$ua=$_SERVER['HTTP_USER_AGENT'];...
Forum: JavaScript frameworks 03-04-2013, 11:16 AM
Replies: 3
Views: 302
Posted By NafaB
Thanks for the reply, is it possible to...

Thanks for the reply,

is it possible to maybe not mix the two, but use a javascript code that would include the header.php or does it have to be a PHP function because the header is a php file?
...
Forum: JavaScript frameworks 03-04-2013, 10:36 AM
Replies: 3
Views: 302
Posted By NafaB
Javascript If statement

Hey guys, I am having trouble trying to merge two codes together to give me a basic if statement. So If the user is a mobile user, include header_mobile.php , else include header.php . I am trying to...
Showing results 1 to 3 of 3

 
Forum Jump

All times are GMT +1. The time now is 12:38 AM.