By registering with us, you'll be able to discuss, share and private message with other members of our community.

SignUp Now!

Search results

  1. RealImmortal2004

    PHP Can someone help me figure this out?

    Here's my code: <div class="scrollit"> <table id="rank-table"> <thead> <tr> <th>Select</th> <th scope="col"><a href="#" class="sort-by">Sort Order</a></th> <th scope="col"><a href="#" class="sort-by">Rank Name</a></th> <th scope="col"><a href="#"...
  2. RealImmortal2004

    How do I perform the following function in PHP?

    Here's my code: <div class="scrollit"> <table id="rank-table"> <thead> <tr> <th>Select</th> <th scope="col"><a href="#" class="sort-by">Sort Order</a></th> <th scope="col"><a href="#" class="sort-by">Rank Name</a></th> <th scope="col"><a href="#"...
  3. RealImmortal2004

    How do I make 5 columns with the code below?

    Here is the codepen link: My Codepen I want to have the links separated as follows and in 5 columns like the image below. I already have the alphabetic sorting function added, I just need the links in the 5 columns. They should also be sorted alphabetically. Here is what I want it to look like:
  4. RealImmortal2004

    How do I make this layout with JSON data?

    I'm trying to make the layout as pictured below and have JSON data display from another page (data.json) and I want each of the items to display as a link and have them echo the data. So: <a class='items' href='$name.php'>$name</a> The image I want to try and recreate:
  5. RealImmortal2004

    Does anyone know how to make this work?

    I'm trying to get the alphabetical sorting to work properly. I have the layout but I don't have the javascript for it.
  6. RealImmortal2004

    I'm trying to get this code to be responsive but I can't figure it out.

    Here's my codepen link. Codepen I want this to work for mobile but it gets all screwed up.
  7. RealImmortal2004

    What's wrong with my code?

    I'm trying to create a working login system. When I register, the data is submitting correctly but when I go to login, it won't perform the functions that it is supposed to. It's supposed to go to the admin.php page only if the credentials are valid but it won't execute the function. Where am I...
  8. RealImmortal2004

    How do I create an accordion from json data that is from an html form?

    I would like to use the html form below: <form action="submit-curriculum-data.php" method="POST"> <label for="category">Category:</label> <select style="width:21%" id="mySelect11"> <option value="option1" disabled selected></option> <option value="absorptiontechniques"><code>--Show...
  9. RealImmortal2004

    How do I turn this into a carousel?

    How do I take the code below: <style> body, html { height: 100%; margin: 0; } .hero-image { background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url("https://wallpapers.com/images/featured/tom-and-jerry-2f5fbl2k3wwi31aq.jpg"); height: 90%; background-position...
  10. RealImmortal2004

    Where am I going wrong?

  11. RealImmortal2004

    Where am I going wrong?

    I can't seem to figure out how to make this work. <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.3/jquery.min.js"></script> <script> $(document).ready(function(){ $('#myselection').on('change', function(){ var demovalue = $(this).val()...
  12. RealImmortal2004

    How do I create a bunch of cascading select inputs that in the end show one specific set of divs?

    I want to create select inputs that do the following: 1st One: Program Name - Link each program name to another select input 2nd One: Belt Rank - A different set of belt ranks will display according to the previous option selected in the first select input. Overall, the function will result in...
  13. RealImmortal2004

    How do I assign a style with a select option and send style to JSON and then display in html table?

    When you select "Present" from the select input, the word "Present" in the html table (data comes from JSON file), will have the green theme. And if Tardy is selected, then the tardy theme will be applied anytime the word absent shows up on the html table and if absent is selected then the...
  14. RealImmortal2004

    How do I change the way the date and time inputs submit to the json file?

    I have an attendance form that I'm using and I can't figure out how to send it to the json file so that the format for the date input is displayed in the file as: MM/DD/YYYY and the time format in 12 hour format and add either AM or PM depending on the time of day. My code below is what I've...
  15. RealImmortal2004

    How do I add a working window(print) function to just an html table that has data from a json file?

    I've tried googling how to do this but I can't find any useful results. The code below is what I want to print. I want it to be able to print whatever is in the table and I want to be able to print certain things based on filtering. How can I print the table without having to create a linked...
  16. RealImmortal2004

    How do I redirect the webpage in the code below?

    I’ve tried using the code below but I’m stuck as to what I need to add to make it redirect. This is what I’ve got so far: <?php if ($_SERVER['REQUEST_METHOD'] == 'POST') { function get_data() { $name = $_POST['name']; $file_name='login-data'. '.json'...
  17. RealImmortal2004

    How can I create an HTML table from a JSON file that includes a working link from a URL input in an HTML form?

    The code below is what I've tried but I can't get it to display an actual html table and have the form be on a different page. <?php $json = file_get_contents('data.json'); $data = json_decode($json, true); $url = $_POST['url']; echo '<table>'; echo...
  18. RealImmortal2004

    I can't find what I'm doing wrong here.

    I'm trying to bring the card forward a layer so that they aren't affected by the rainbow gradient background of the "box" div. I've tried using z-index but I can't seem to figure it out. Here's a link to my Codepen.
Top Bottom