Jump to content

need help putting a $val into a line on code


ricky spires

Recommended Posts

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

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.