[PHP] PHP - Internal linking in a page

2002-10-31 Thread Paul Ottar Tornes
Hi! I started to learn PHP yesterday, and I have just entered a little problem. In my index.php file. I have this line: ? if ($page== '') { $page=main.php ; } else { $page=$page.; } include ($page); ? wich controles the main page locaton, just like frames. It makes the files appear in the

Re: [PHP] PHP - Internal linking in a page

2002-10-31 Thread PHP List
Your get statement is wrong: http://maloyportalen.no/~critical/maloy/index.php?page=main2.php?id=7 use http://maloyportalen.no/~critical/maloy/index.php?page=main2.phpid=7 You only get 1 question mark, any after will be treated as part of the variable page. Hi! I started to learn PHP

RE: [PHP] PHP - Internal linking in a page

2002-10-31 Thread John W. Holmes
;tiscali.no] Sent: Thursday, October 31, 2002 5:28 PM To: [EMAIL PROTECTED] Subject: [PHP] PHP - Internal linking in a page Hi! I started to learn PHP yesterday, and I have just entered a little problem. In my index.php file. I have this line: ? if ($page== '') { $page=main.php ; } else