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
https://forums.phpfreaks.com/topic/196858-php-echoing-a-table-row/
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.