Forums
New posts
Articles
Product Reviews
Policies
FAQ
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Menu
Log in
Register
Install the app
Install
Forums
Digital Lifestyle
Web Design and Hosting
PHP Help
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="design2" data-source="post: 54824"><p><strong>php help.</strong></p><p></p><p>i have setup a weblog page where normal users can only view the logs</p><p>however if you are successfully logged in i want an EDIT link to appear next to each log and when you click that link it uses that ID to go to my weblog edit page. i thought i had it all covered, but i think i've missed something small.</p><p></p><p>here's the JUICY code..</p><p></p><p> <?php</p><p> if(isset($_SESSION['MM_Username']) && isset($_SESSION['MM_UserAuthorization'])) {</p><p> echo '<a href="weblog_edit.php?id=' . $row_rs_weblog['id'] . '">EDIT</a> ';</p><p> }</p><p> ?></p></blockquote><p></p>
[QUOTE="design2, post: 54824"] [b]php help.[/b] i have setup a weblog page where normal users can only view the logs however if you are successfully logged in i want an EDIT link to appear next to each log and when you click that link it uses that ID to go to my weblog edit page. i thought i had it all covered, but i think i've missed something small. here's the JUICY code.. <?php if(isset($_SESSION['MM_Username']) && isset($_SESSION['MM_UserAuthorization'])) { echo '<a href="weblog_edit.php?id=' . $row_rs_weblog['id'] . '">EDIT</a> '; } ?> [/QUOTE]
Verification
Post reply
Forums
Digital Lifestyle
Web Design and Hosting
PHP Help
Top