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? Quote Link to comment 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] Quote Link to comment Share on other sites More sharing options...
Night_Tripperz Posted January 24, 2007 Author Share Posted January 24, 2007 Thanks that works Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.