bigjoe11a Posted October 28, 2011 Share Posted October 28, 2011 In a page I have, I have 2 links. each link relates to add or just view. Link 1) is where a user adds an entry. and link 2 is where you can view the entry. look at the code blow: <a href="{SITE_ROOT}blog/addentry.php?bid={BID}" style="margin-left:100px;text-decoration:none">Add Entry</a><a href="{SITE_ROOT}blog/viewentry.php?bid={BID}" style="margin-left:100px;text-decoration:none">View Entries</a> The 1st link. I don't just want any one adding a new entry to this persons blog. I only want the user who made the blog to be a allowed to add to his/her blog. So how can I hide the 1st link from every one other then the user who created the blog. Link to comment Share on other sites More sharing options...
thescientist Posted October 28, 2011 Share Posted October 28, 2011 it would depend on how you're implementing the blog. It would have to be done with a server side language, since HTML doesn't "do anything" on its own. Link to comment Share on other sites More sharing options...
bigjoe11a Posted October 28, 2011 Author Share Posted October 28, 2011 Thanks. I just posted it in the PHP forum, since I'm using PHP Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.