Jump to content

[SOLVED] correct my code syntex


vinpkl

Recommended Posts

hi all

 

this is the original line

<?php
echo '<a href="?page=' . $i . '"' . $class . '>' . $prepend . $i . "</a>\n";
?>

 

i want to add my dealer_id and category_id in it

<?php
echo '<a href="products.php?dealer_id=". $row['dealer_id'] . "&category_id=" . $row['category_id']."?page="' . $i . '"' . $class . '>' . $prepend . $i . "</a>\n";
?>

 

its giving syntex error

 

vineet

Link to comment
https://forums.phpfreaks.com/topic/137162-solved-correct-my-code-syntex/
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.