Jump to content

Php echoing a table row


nd3_2000

Recommended Posts

Hi guys,

I have this statement here working in html fine

 

<tr><td ><a href="GetVeh.php?UniqueID=<?php  echo "$Reg_No"; ?>"><?php echo "$Reg_No"?></a></td></tr>

 

But I now need to create it in php by echoing the table row but I am getting an error where the Reg no is dissapearing. or all I get is ">

 

 

Here is the code...I believe i am putting the \ in the wrong place but cannot figure it out.

 

echo "<tr><td><a href=\"GetEmp.php?UniqueID=<?php  echo \"$EmpID\"; ?>\"><?php echo $Name ?></a></td>

 

 

Any idea would be very much appreciated

THanks

Link to comment
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.