Jump to content


  • Content Count

  • Joined

  • Last visited

  • Days Won


NotSunfighter last won the day on April 13 2020

NotSunfighter had the most liked content!

Community Reputation

6 Neutral

About NotSunfighter

  • Rank
    Regular Member

Profile Information

  • Gender
  • Location
    Urbandale, Ia

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. 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>
  2. 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.
  3. 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.
  4. What do you mean by "script id"? Never heard of that even in wordpress.
  5. 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?
  6. @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
  7. I would like to see the JavaScript => storedata()
  8. 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.
  9. Off the top of my head and not testing the idea; I would just add a comma to the 'var taggedPerson'.
  10. 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
  11. Shouldn't those double backwards slashes \\ be single \ ?
  12. 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.
  13. 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.
  14. 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
  15. 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
  • 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.