Search this blog

Home Download Tips Our Stores About

Adbrite

Your Ad Here

Hot Offers


Masukkan Code ini K1-2BE745-X
untuk berbelanja di KutuKutuBuku.com

Visit Our Sponsor

Tuesday, July 6, 2010

How to send parameter into include in PHP  

This will not work
include('communities.php?show=gated&where=naples');
?>

.

However this will
$_GET = array();
$_GET['show'] = 'gated';
$_GET['where'] = 'naples';
include('communities.php');
?>

Putting this on your page and nothing else will give the same result as
going to 'communities.php?show=gated&where=naples' but the URL can be
whatever you want it to be.


What next?

You can also bookmark this post using your favorite bookmarking service:

Related Posts by Categories



Post a Comment

Best Seller