2012-06-25, 03:44 AM
Can someone helpme, please?
I want to add (insert) another value or variable in the URL forum and URL Thread. Example:
Index.php File:
echo "<a href='/forumdisplay.php?fid=7'>Forum 1</a>" change to echo "<a href='/forumdisplay.php?fid=7&var1=X'>Forum 1</a>"
echo "<a href='/forumdisplay.php?fid=8'>Forum 2</a>" change to echo "<a href='/forumdisplay.php?fid=8&var1=X'>Forum 2</a>"
forumdisplay.php File:
echo "<a href='/showthread.php?tid=316'>Forum 1</a>" change to echo "<a href='/showthread.php?tid=316&var1=X'>Forum 1</a>"
echo "<a href='/showthread.php?tid=318'>Forum 2</a>" change to echo "<a href='/showthread.php?tid=318&var1=X'>Forum 2</a>"
I want to insert "var1=X". Where line in index.php and forumdisplay.php for insert this and how that's syntax?
Thanks Before
I want to add (insert) another value or variable in the URL forum and URL Thread. Example:
Index.php File:
echo "<a href='/forumdisplay.php?fid=7'>Forum 1</a>" change to echo "<a href='/forumdisplay.php?fid=7&var1=X'>Forum 1</a>"
echo "<a href='/forumdisplay.php?fid=8'>Forum 2</a>" change to echo "<a href='/forumdisplay.php?fid=8&var1=X'>Forum 2</a>"
forumdisplay.php File:
echo "<a href='/showthread.php?tid=316'>Forum 1</a>" change to echo "<a href='/showthread.php?tid=316&var1=X'>Forum 1</a>"
echo "<a href='/showthread.php?tid=318'>Forum 2</a>" change to echo "<a href='/showthread.php?tid=318&var1=X'>Forum 2</a>"
I want to insert "var1=X". Where line in index.php and forumdisplay.php for insert this and how that's syntax?
Thanks Before