ricky spires Posted December 10, 2011 Share Posted December 10, 2011 ok, this is a much shorter version, but i have: $val = "1"; then i have a function function include_function_name{ echo' <ul><li> <a href="index.php?pageID="{$val}"">page name</a> <li/><ul/>'; } i have tried all sorts of variations but i can get it to make pageID=1 plaease help thanks ricky Quote Link to comment https://forums.phpfreaks.com/topic/252874-need-help-putting-a-val-into-a-line-on-code/ Share on other sites More sharing options...
ricky spires Posted December 10, 2011 Author Share Posted December 10, 2011 fixed index.php?pageID='.$val.'" Quote Link to comment https://forums.phpfreaks.com/topic/252874-need-help-putting-a-val-into-a-line-on-code/#findComment-1296496 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.