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 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.'" 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
Archived
This topic is now archived and is closed to further replies.