Jump to content


  • Content Count

  • Joined

  • Last visited

  • Days Won


Everything posted by NotSunfighter

  1. I have used wamp since to early 2000's. It was hard to install then. I have installed it on every new computer (about once every 2~3 years) and have had no problems, maybe cause I know what I need or where to get the information. I have never figured out how to get xamp up and running. You'll need to google the pros and cons. A;; I can tell you is wamp is larger then 4x. Code is code so portable.
  2. Clean up your code. You have 6 </html> and combine your javascript into a single file
  3. It just might be the browser, and that might not be fixable. Add this to your CSS temporarily and see were the bottom line is: body{ margin:0; padding:0; outline: 1px solid red; }
  4. I have never seen so much code to do a simple drop down menu. It looks like your using bootstrap, ssas, and jquery. Lets start there: learn to code. Learn HTML, CSS, and JavaScript! Then, if your doing a lot of programming and haven't made a personal library you can learn jquery. When studying HTML pay close attention to CSS-Grid and FlexBox. Oh don't forget responsive design. Sorry I can't help. Don't know where you originally hide the menu list. That is what I believe is your problem, you don't hide it on page start up.
  5. Dharmeshdhabu, neither of the two code samples you posted relate to the question. The first is totally useless and the second is for installing info into a database. I shall comment on the second, longer code. It's a shame SESSIONs are used to just send a message to the user and not protect data. But that may be all you need. So this is just my BS, don't worry about it. But here are two things that you should worry about You never call the function "test_input" before you insert data. I should be called before the INSERT and both UPDATES. It should be removed from the "if (isset
  6. z-index only works on positioned elements (position: absolute, position: relative, position: fixed, or position: sticky) and flex items (elements that are direct children of display:flex elements).
  7. Here a solution from Stackoverflow <!DOCTYPE html> <html lang="en"> <head></head> <body> <script> var permArr = [], usedChars = []; str = [5,3,7,1]; function permute(input) { var i, ch; for (i = 0; i < input.length; i++) { ch = input.splice(i, 1)[0]; usedChars.push(ch); if (input.length == 0) { permArr.push(usedChars.slice()); } permute(input); input.splice(i, 0, ch); usedChars.pop(); } return permArr }; document.write(JSON.stringify(permute(str))); STACKOVERFLOW </script> </body> </html>
  8. You need to generate an HTML page with an INPUT for the user generated string then use a JAVASCRIPT function called Ajax to transfer user input to your PHP function and transfer the permutations back to JS to show them.
  9. Updating your HTML/CSS may or may not be easy, but we need to see it. If it is complicated upload it to a free host 000webhost might work https://www.000webhost.com/ You can try your PHP there also. How did you check your php before. Did you use something like Webampserver? It probable is OK.
  10. What do you mean by "script id"? Never heard of that even in wordpress.
  11. Where are the folders your using? Where is the main html file and what is it's name? Have you made a file named "css" and placed that file in same location as the html file? Have you placed your css file into the css folder?
  12. @steveb1471, This is way more complicated then it should be. I see a hard time ahead maintaining this with uodates or repairs. IMHO I'd use AJAX to communicate this your PHP and DB. storedata() works with sessionStorage and has nothing to do with communication and adds extra steps to what your doing. The SELECT should be user INPUT, because it needs to be upgraded by a programmer when new weeks appear. The worst thing I see is the unneeded use of FORM to talk to PHP. Ajax does this nicely and will open a POP UP BOX and display your information without ruining the HTML page. Ple
  13. I would like to see the JavaScript => storedata()
  14. Your column headers are being generated inside the while loop. Move them to outside the loop so they only generate once. The <td> <inputs> should be left in the loop.
  15. Off the top of my head and not testing the idea; I would just add a comma to the 'var taggedPerson'.
  16. Either of the last two codes are OK, but I would use the first one and set the value of the first option to nil: <option value="">Select here</option> and not a space. Question: If this is a yes/no thing why not use simple Radio buttons
  17. Shouldn't those double backwards slashes \\ be single \ ?
  18. I don't see anything in your code to cause a problem. I'm sure it lies in your PHP file. Post that code. Also you can save load time by removing the two JS scripts, they are needed.
  19. You really don't need to use a DIV in the HTML code. Your video is at 100% and centering is unresponsive. To center the <B> text use: style="text-align:center;display:block;margin: 0 auto;" to the tag I found a hack for you to try. Add an ID to the video (ID="myvideo"). Then use JAVASCRIPT: <script> document.getElementById('myvideo').play(); </script> See if that works.
  20. The admin panel on my site is not under my control. Are you able to change your admin panel? If you control it we'd need to see the code. How about making two menus OKmenu.php and FullUpMenu.php and change which one you will call from index.php, manually or as stated above? Your index.php file may look like this: echo" <table border=\"1\" class=\"tblmare\" width=\"795\" style=\"border-collapse: collapse\" align=center> <tr class=trsus> <td>"; include 'routing.php'; echo" </td></tr> <tr> <td> <center>"; /* Change t
  21. The easiest way of doing this is to change the page you send them to when they click on the “New Application” menu. I would use the new page to not only inform them that you can not take new users, but also collect their information to get back to them if an opening occurs. Since you have MySQL you can look up a token and add a IF loop to the menu selection area, This way you could program a PHP program to do this automatically and send auto send the email when space is available. Or this can be done manually by staff. Cel mai simplu mod de a face acest lucru este de a schimba
  22. Sorry for the intrution, but the line above that: while ($row = $res->fetch_assoc()) { Has NO ending bracket
  23. You should post the web url and what you want changed. Google translate does Romanian: Ar trebui să postați URL-ul web și ceea ce doriți s-a schimbat.
  24. Why are you pulling everything from the db with the * when all you want is the rank? In your echo you are putting a double quote inside a double quote. => You have a rank of " . $user['rank'] . "
  • 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.