sehummel sehummel - 1 year ago 81
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

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download