| | |
Redirect
Please support our PHP advertiser: PostgreSQL or MySQL? Compare and contrast the two most popular open source databases
![]() |
Not sure exactly what you are asking, but in PHP redirection can be done as follows:
and Meta:
this goes in the <head> tag
php Syntax (Toggle Plain Text)
<?php header("Location:http://www.somesite.com"); ?>
PHP Syntax (Toggle Plain Text)
<meta http-equiv="refresh" content="5; url=http://www.somesite.com">
AJAX is not a programming language, scripting language or any other sort of language.
It is acheived by using JavaScript http functions.
So, AJAX = JavaScript.
It is acheived by using JavaScript http functions.
So, AJAX = JavaScript.
You can either echo the HTML tags
Or another way:
echo "<some_tag>html</some_tag>"; If you do this the remember to escape your quotes with \sOr another way:
php Syntax (Toggle Plain Text)
<?php // Some PHP code ?> some HTML code <?php // Some more PHP code ?>
AJAX is not a programming language, scripting language or any other sort of language.
It is acheived by using JavaScript http functions.
So, AJAX = JavaScript.
It is acheived by using JavaScript http functions.
So, AJAX = JavaScript.
•
•
•
•
Originally Posted by sam1
when i include html tags the redirect doesnt work
![]() |
Similar Threads
- custom .htaccess file 301 Redirect to non www form (Search Engine Optimization)
- Redirects won't redirect... (Web Browsers)
- Is Redirect Bad for Business? (Search Engine Optimization)
- Internet Explorer unable to redirect website! (Web Browsers)
Other Threads in the PHP Forum
- Previous Thread: Need help storing HEX,DEC. value from color picker to MySQL database
- Next Thread: PHP developer for Ubuntu
| Thread Tools | Search this Thread |
.htaccess alerts apache api archive array autocomplete beginner binary broken cakephp checkbox class cms code convert cron curl database dataentry date display duplicates dynamic echo email emptydisplayvalue error execute explodefunction file files firstoptioninphpdroplist folder form forms function functions google hack href htaccess html htmlspecialchars image include insert ip javasciptvalidation javascript joomla keywords limit link login mail matching menu methods mlm multiple mysql network object oop paypal pdf php problem query radio random recursion recursive redirect remote script search securephp server sessions shot sms source space sql subscription syntax system table tutorial tutorials update upload url validator variable video web youtube





