Jeez Luis - amd_k8 just told you to place a colon at the end of your case syntax as opposed to ending with a semi-colon.
Do you mean, its not possible ???
It's not possible for you to replace a semi-colon with a colon??? *sigh*
diafol
Rhod Gilbert Fan (ardav)
7,792 posts since Oct 2006
Reputation Points: 1,170
Solved Threads: 1,080
What exactly are you trying to accomplish with the "title" statement?
Lsmjudoka
Junior Poster in Training
75 posts since Apr 2009
Reputation Points: 10
Solved Threads: 9
The header() is usually a redirecting function, so title will not show up anywhere. Unless you have a 'delay' that shows some text before redirect.
header('Refresh: 5; url=http://www.mysite.com/');
echo $title . " You will be redirected in 5 seconds";
Note that url parameters in headers should be FULL urls including the 'http://' bit.
diafol
Rhod Gilbert Fan (ardav)
7,792 posts since Oct 2006
Reputation Points: 1,170
Solved Threads: 1,080
That needs to be done in the html tag, PHP's "header" function doesn't do that. Use the "title" attribute, example:
<img src="ad1.jpg" title="Ad description here" />
Edit: Additionally, unless there's a specific reason you need to use a header for the link you would be just as well off with using an image link like this:
<a href="http://www.google.co.uk"><img src="ad1.jpg" title="Ad description here" /></a>
Lsmjudoka
Junior Poster in Training
75 posts since Apr 2009
Reputation Points: 10
Solved Threads: 9
Yeah, รจ molto confuso. I can't understand why you'd need to use header. Just a normal html link should suffice - with or without image.
diafol
Rhod Gilbert Fan (ardav)
7,792 posts since Oct 2006
Reputation Points: 1,170
Solved Threads: 1,080