Reply to Re: Passing database info into URL

Your name:

Reply:


Posted by maxvalery on 04/13/06 16:24

Thanks.

I'll get real specific now. Suppose I have this layout in index.php:

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head></head>
<body>
<?php require('includes/header.php');?>
<?php require('includes/navigation.php');?>
<?php require('includes/left.php');?>

... some database retrieval code goes here, e.g. mysql_query ("SELECT
....");

<?php require('includes/centerright.php');?>
<?php require('includes/far_right.php');?>
<?php require('includes/footer.php');?>
</body>
</html>

How would I write the <a href> tags in the 'navigation include file' to
point to individual pages by using the "?id=1" , "?id=2" ... "?id=n"
method in the URL?

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация