Jump to content

slj90

Members
  • Content Count

    182
  • Joined

  • Last visited

Community Reputation

0 Neutral

About slj90

  • Rank
    Advanced Member

Profile Information

  • Gender
    Not Telling
  1. Could someone please point me in the right direction on how to change the tick to white? *{ box-sizing: border-box; user-select: none; } html, body{ margin: 0; height: 100%; } body{ display: flex; background: #fff; justify-content: center; align-items: center; font: 24px/1.4 "RobotoDraft", sans-serif; color: #fff; } section{ display: flex; flex-direction: column; padding: 0.5em; } input[type='checkbox']{ height: 0; width: 0; } /* Font color */ input[type='checkbox'] + label{ position: relative; display: flex; margin: .6em 0; align-items: center; color: #02580
  2. I have a query that searches a single column SELECT * FROM allmovies WHERE MATCH (all_title) AGAINST ('shrek' IN NATURAL LANGUAGE MODE); However, I want to be able to search multiple columns SELECT * FROM allmovies WHERE MATCH (all_title, all_tags, all_directors) AGAINST ('speilberg' IN NATURAL LANGUAGE MODE); But that receives the error #1191 - Can't find FULLTEXT index matching the column list It works when searching each column individually, like above. What is wrong with my query? Thanks,
  3. I am using the following code to load mysql data: <div id="station_data" style="width:100%"></div> and $(document).ready(function(){ loadstation(); }); function loadstation(){ $("#station_data").load("http://website.co.uk/celebs/loadstation.php"); setTimeout(loadstation, 1000); } This works fine on my PC on multiple pages, however when testing on my iPhone and iPad it works on one page, but the exact same code doesn't work on another page. Whilst trying to get it to work I made an exact copy of the working page with a different nam
  4. $username = "user1"; $result = single_row_prepared($username); echo $username . " - " . $country . " - " . $about . " - " . $age; It says the variables are undefined. How do I echo them out? function single_row_prepared($username) { global $connect; $sql = "SELECT profile_username, profile_country, profile_about, profile_age "; $sql .= "FROM profiles "; $sql .= "WHERE profile_username = ?"; $stmt = mysqli_prepare($connect, $sql); mysqli_stmt_bind_param($stmt, 's', $username); mysqli_stmt_execute($stmt); mysqli_stmt_bind_result($stmt, $username, $country, $about, $age); mysqli_stmt
  5. Say I had a website which uses GET to gather an ID from the URL. This ID is then used to retrieve data for page, such as the title, description and other page contents. Will Google still be able to find and display these pages in search results when the base page has no content? Do I need to do anything imparticular for Google and other search engines to be able to find these pages? If its not possible are there any solutions to this other than each page being its own unique page/file? Thanks,
  6. Hello, The user enters a 4 digit number as a date. Some examples: 0101 = 1st January 1902 = 19th Feb 2412 = 24th December Is there a way I can perform an if function to tell if the number isn't a date? For exampe if the user enters the number e.g 0001, 4112, 0199? I already make sure that it is a 4 digit number and not over 3112. Thanks,
  7. Hello, Here is the structure of my website: website.com/events/page1?date=1224 website.com/events/page2?date=0101 website.com/events/page3?date=1105 There are lots of different pages all of which I would like to use the $_Get 'date' on. I want to rewrite the URL using htaccess so that they can be loaded like this: website.com/events/page1/1224 website.com/events/page2/0101 website.comevents/page3/1105 Is this possible without having to create a separate rule for each page? Thanks in advance!
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.