I'm assuming you're not using mod_rewrite and your file reports.php is visible on the url.
Based on your comment: This is the output for $_SERVER["REQUEST_URI"]:
string(47) "/~a7068104/2013-2014/Lab_13/Reports/Reports.php"
So, we're going to use stripos() to check if the user is requesting a page, that has "reports.php" in it! We are using the case insensitive function instead of strpos(), you can find more info at ( http://www.php.net/manual/en/function.stripos.php )
You can use the following condition / logic:
<?php if ( stripos($_SERVER['REQUEST_URI'], "reports.php") ) : ?>
<!-- add the html specific to the REPORTS.PHP -->
<?php else: ?>
<!-- add the html specific to NON REPORTS.PHP Pages -->
<?php endif; ?>
<!-- Remember, everything else GOES OUTSIDE THE PHP IF CLAUSE --->
The solution for your problem is:
<link rel="stylesheet" href="../css/jQuery.css">
<link rel="stylesheet" href="../css/Main.css">
<?php if ( stripos($_SERVER['REQUEST_URI'], "reports.php") ) : ?>
<script src="http://code.jquery.com/mobile/1.4.2/jquery.mobile-1.4.2.min.js"></script>
<?php else: ?>
<script src="http://code.jquery.com/jquery-1.10.2.min.js"></script>
<?php endif; ?>
Hope this helps!