Jump to content

Syntax help


kat35601

Recommended Posts

I'm not understanding what you're after. Your link is syntactically correct assuming $uompScheduleNumber and $PRT_FR are defined somewhere before you output the link.

 

It sends parameters "sn" and "itm" via GET.

 

What exactly isn't working for you? What is wrong with what you have? How is it supposed to work?

Link to comment
https://forums.phpfreaks.com/topic/296755-syntax-help/#findComment-1513672
Share on other sites

this topic is also at http://forums.phpfreaks.com/topic/296729-creating-a-link-and-passing-data-to-open-another-report/?do=findComment&comment=1513616.

 

Are you talking about a defined constant? eg define("DR", '12345")

 

If that is the case you either assign the value to a variable ($dr = DR) and use that same syntax or use concatenation with the constant

echo "<td style='text-align:center'><a href='kk_schedule_subreport.php?sn=$uompScheduleNumber&itm=".DR."'>$PRT_FR</a></td>";
Link to comment
https://forums.phpfreaks.com/topic/296755-syntax-help/#findComment-1513676
Share on other sites

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.