I'm trying to create a simple blog website using PHP and MySQL. Here a user can comment on another's user's blog. On clicking the username (who commented on post) I want to redirect the page to the user's profile page (just like in facebook). The username and user_url are stored in a database. I tried doing:
<a href="<?php echo $row['user_url']; ?>" > userNameHere </a>
where user_url is "http://localhost:9090/blogtest/profile.php?user_name=anindya&user_submit=click" But this is not working. Please help me.
Aucun commentaire:
Enregistrer un commentaire