Jump to content
Search In
  • More options...
Find results that contain...
Find results in...

Muzzle

Member
  • Content Count

    16
  • Joined

  • Last visited

Awards


This user doesn't have any awards

1 Follower

About Muzzle

  • Title
    Newbie
  1. You are right i did not test my code. I have updated my original post with one that should work by simply ignoring the double quotes in the html elements.
  2. Meant to edit another post not start a new one, delete this please kthnx.
  3. Just escape the double quotes inside the html elements: <?php$query = $_GET['query'];$min_length = 3; if(strlen($query) >= $min_length) { $query = htmlspecialchars($query); $query = mysql_real_escape_string($query); echo "<div class='container'>"; echo "<div class='table-responsive'>"; echo "<table class='table'>"; echo "<thead>"; echo "<br />"; echo "<br />"; echo "<br />"; echo "<tr><th>Bookmark Title</th><th>URL</th><th>Category</th><th>Notes</th></tr></thead>"; echo "<tbody>"; echo "<tr align='center'>"; $result = mysql_query("SELECT * FROM bookmarkstable WHERE (`BookmarkTitle` LIKE '%".$query."%') OR (`Category` LIKE '%".$query."%')ORDER BY BookmarkTitle ASC")or die(mysql_error()); if(mysql_num_rows($result) > 0) { while($results = mysql_fetch_array($result)) { echo "<tr align='center'><td><a href=\"$results[url]\">$results[BookmarkTitle]</a></td> <td><a href=\"$results[url]\">$results[url]</a></td> <td><a href=\"$results[url]\">$results[Category]</a></td> <td><a href=\"$results[url]\">$results[Notes]</a></td> </tr>" ; } } echo "</tbody>"; }?>
  4. Gonna need a link to the site buddy. PM it if you don't want it public
  5. Muzzle

    Project Ice Cube

    Nah there's no vertical mode on this. When i lean over my my head is naturally at the right angle anyway so its all good.
  6. Just to run this past you because I'm not sure if i understand correctly. You want to have several pages on your website that have a game code on which are hidden behind a password. You want people to find the password and when they enter it with their name it gives them the code and stops any more entries?
  7. Your h2 has two open brackets. /*Add your CSS below!*/h1 {font-family: serif;}h2 {font-family: sans-serif;{ <------------ problemh3 {font-family: cursive;}
  8. @DES7OY3R Never made one before, is this ok?
  9. Bored af so why not. What style / colour / etc you looking for? What will you be streaming?
  10. Muzzle

    Project Ice Cube

    The other LED Strip arrived today so i could finally start building! The fan controller is a different shade of white to the case which is slightly annoying but ill sort that out later. There's also no way to screw it on from the top so it doesn't fit flush which is something else that i will have to try and work out a fix for, but overall I like how this build is going.
  11. What are you trying to do? Refresh the current page or open a new page when clicking the button?
  12. Muzzle

    Project Ice Cube

    Postman has been this morning with some braided cables. Waiting on one more Led strip and can start putting it all in.
  13. You didn't define the header as a redirect by adding the "Location" class before the URL.
  14. Change if($user_count == 1){session_start();$_SESSION['login_user'] = $myusername;header("http://gamingglobal.comuf.com/index.php");} to if($user_count == 1){session_start();$_SESSION['login_user'] = $myusername;header("Location: http://gamingglobal.comuf.com/index.php");}
  15. Muzzle

    Project Ice Cube

    I've updated the first post with the main parts and some future plans.
×