sehummel sehummel - 11 months ago 58
PHP Question

PHP: print '<meta http-equiv="refresh" content="0;url=' with URL parameters

How do I create this string with URL parameters? What I want is something like:

print '<meta http-equiv="refresh" content="0;url=">';

But that doesn't pass my second parameter correctly. I get a ")" instead of a b. What am I doing wrong?

I've tried
instead of the ampersand, but that doesn't work either,

Answer Source
echo "<meta http-equiv='refresh' content='0;url='>";

or even

header ("Location: url=");

since you are using 0 as delay