- Strength to Increase Rep
- +2
- Strength to Decrease Rep
- -0
- Upvotes Received
- 1
- Posts with Upvotes
- 1
- Upvoting Members
- 1
- Downvotes Received
- 1
- Posts with Downvotes
- 1
- Downvoting Members
- 1
I am new to Laravel. I am now able to register users, log them in. But after login, I don't want to display register and login pages. I want to display logout link. This is easy for me with core php. I want something similar like the one below. <?php … |
|
<div class="row column text-center"> <ul class="dropdown menu" data-dropdown-menu> <li> <a href="">For Sale</a> <!-- I want the menu below to display inline-block--> <ul class="menu"> <li><a href="">Used cars</a></li> <li><a href="">New Cars</a></li> </ul> </li> </ul> </div> |
|
I have connected to database link below $db_host = "localhost"; $db_username = "root"; $db_password = ""; $db_name = "db"; $sql = new mysqli($db_host,$db_username,$db_password,$db_name); And I refered to it on a different page like: function user_exists($username){ $username = sanitize($username); $query_user = $sql->query("SELECT COUNT(`user_id`) FROM `users` WHERE `username` = '$username'"); return (mysqli_result($query_run,0)==1)? … |
|
Re:
Facebook, Linkedin, Twitter, G+ are the most popular websites we use to promote business. Is their any other social networking websites which we can use? |