link problems plz help
on my site used.theoverclocked.com, i have a problem with the links, and being not too good with php, i dont know if the script i recieved is correct or not. can someone tell me if it is or not.
(on main page)
(and on medals page)
<?php
require("functions.php");
global $fontString, $fontcolor;
echo("
<table border=0 cellspacing=0 cellpadding=3 width=375>
<tr><td colspan=2>
$fontString<b><center><font size=5>Medals</font></center><br></b>
</td></tr>
<tr><td>
$fontcolor<font size=2 face=verdana><b><center>Medals</font></center></b>
</td><td>
$fontcolor<font size=2 face=verdana><b>Requirements<br></font></b>
</td></tr>
</td></tr>
<tr><td>
<img src=$images/medals/afs.jpg ALT=\"Armed Forces Service\">
</td><td>
$fontString
<b>Armed Forces Service</b><Br>
Awarded to members with more than 10 days in clan. Medal is awarded Automatically.
</td></tr>
...........(more medals)
</table><br>
<b><font size=1 color=red face=verdana>*</font><font size=1 color=yellow face=verdana>All medals are awarded at the descretion of the General<br> awarding them. There shall be no arguments on medals.</font><br>
<font size=1 color=red face=verdana>*</font><font size=1 color=red face=verdana>All medals are awarded by Brigadier GEnerals and Above</font></b>
");
include("footer.php");
?>
this is just one of like 15 pages that doesnt work, can someone plz help me out?
Busy posted this at 09:55 — 27th December 2005.
He has: 6,151 posts
Joined: May 2001
Seems like something is missing there, the first bit is just HTML, no PHP at all
The second bit is PHP but has globals for no reason (there should be called in the functions file if used in there). There is no real reason to 'echo' that table with PHP, would be easier to break out of PHP (?>) and restart at the variables (PHP values which start with a dolar sign)
What is the actual problem you are having with the links?
Want to join the discussion? Create an account or log in if you already have one. Joining is fast, free and painless! We’ll even whisk you back here when you’ve finished.