hi guys.
can someone show me the right syntax to make link based on the ID using php echo.
My coding will not give any input. below is my coding:

echo "<td width='101'><a href=view_supplier_details.php?details_ID={$user['report_details_ID']}</td></a>";

Hey check this....

i didnt get ur question exactly...but try this..

<a href="view_supplier_details.php?details_ID=?<?php echo $user['report_details_ID']; ?>"> </a>

hi guys.
can someone show me the right syntax to make link based on the ID using php echo.
My coding will not give any input. below is my coding:

echo "<td width='101'><a href=view_supplier_details.php?details_ID={$user}</td></a>";

You may Use Below Specified Code for Creating a href in PHP from Database:

<?PHP
echo "<td width='101'><a href=view_supplier_details.php?details_ID=".$row['$details_ID'].">Your Text Goes Here</a></td>";
?>

in above Code Please Change $details_ID with Your Field Name.

thanks guys!
really appreciated it..
it works!
:D

hi guys.
can someone show me the right syntax to make link based on the ID using php echo.
My coding will not give any input. below is my coding:

echo "<td width='101'><a href=view_supplier_details.php?details_ID={$user}</td></a>";

There is a small mistake in your above code, that any tag which starts first should finish last.
like it should been -

echo "<td width='101'><a href=view_supplier_details.php?details_ID={$user['report_details_ID']}</a></td>";
Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.