Thread: php question
View Single Post
Old 10-24-2007, 10:02 PM  
xroach
Confirmed User
 
Join Date: Feb 2002
Location: vancouver, bc
Posts: 963
[QUOTE=Wolfy;13283820]I am using this code to display a page included in another:

Code:
<?php include('<?echo "$id";?>'); ?>
should be

Code:
<?php include("$id"); ?>




Code:
<a href="http://www.mysite.com/<?echo "$id+1";?>

or

<a href="http://www.mysite.com/<?echo "$id-1";?>
Code:
<a href="http://www.mysite.com/<?echo $id-1;?>" />
xroach is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote