Jump to content

Syntax help


Go to solution Solved by Barand,

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

  • Solution

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

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.