Night_Tripperz Posted January 24, 2007 Share Posted January 24, 2007 I have a script which is unique to each entry in my database. So what i am trying to do is name the scripts according to there ID and then include them on my page. E.g. i want to do something like <? include 'pages/pages<? echo $id ?>.php' ?> but i can't seem to figure it out, any idea's? Link to comment https://forums.phpfreaks.com/topic/35574-id-include/ Share on other sites More sharing options...
craygo Posted January 24, 2007 Share Posted January 24, 2007 it should be[code]<? include ('pages/pages'.$id.'php' ?> [/code] Link to comment https://forums.phpfreaks.com/topic/35574-id-include/#findComment-168445 Share on other sites More sharing options...
Night_Tripperz Posted January 24, 2007 Author Share Posted January 24, 2007 Thanks that works Link to comment https://forums.phpfreaks.com/topic/35574-id-include/#findComment-168449 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.