CrashOkami Posted June 27, 2012 Share Posted June 27, 2012 Hello, The code below is part of a pagination code, which is working perfectly until I put the <a href> code in it, so the results can be made links to the article in accordance. Problem is, I'm getting "undefined T_VARIABLE" on the first line of this. I know I've done a mistake with the quotes, for sure, but I can't seem to be able to fix it. { Print "<a href='news.php?News_ID="$info['News_ID'] " '>"; Print $info['Title']; Print $info['Date']; Print "</a>"; echo "<br>"; } I've used spaces where needed to make the quotes more easily visible. Thank you again! Quote Link to comment https://forums.phpfreaks.com/topic/264866-help-wheres-the-error-in-this-print/ Share on other sites More sharing options...
CrashOkami Posted June 27, 2012 Author Share Posted June 27, 2012 Silly, silly me. I've fixed it, and I'm pasting the code below case anyone stumbles upon this for help. { Print "<a href='news.php?News_ID=" .$info['News_ID']."'>"; Print $info['Title']; Print $info['Date']; Print "</a>"; echo "<br>"; } Moderators, please mark this as solved. Thank you! Quote Link to comment https://forums.phpfreaks.com/topic/264866-help-wheres-the-error-in-this-print/#findComment-1357373 Share on other sites More sharing options...
cyberRobot Posted June 27, 2012 Share Posted June 27, 2012 Moderators, please mark this as solved. Thank you! There's normally a mark as solved button near the bottom of the page. Quote Link to comment https://forums.phpfreaks.com/topic/264866-help-wheres-the-error-in-this-print/#findComment-1357376 Share on other sites More sharing options...
CrashOkami Posted June 27, 2012 Author Share Posted June 27, 2012 There's none for me, maybe because I'm a new user? I can't even mark your answer as an answer to the topic, which would be the same. Still, thanks for pointing that out! Quote Link to comment https://forums.phpfreaks.com/topic/264866-help-wheres-the-error-in-this-print/#findComment-1357377 Share on other sites More sharing options...
Jessica Posted June 27, 2012 Share Posted June 27, 2012 The feature was disabled during software upgrade, it will be back eventually. Quote Link to comment https://forums.phpfreaks.com/topic/264866-help-wheres-the-error-in-this-print/#findComment-1357398 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.