Jump to content

niche

Members
  • Posts

    3,671
  • Joined

  • Last visited

  • Days Won

    17

Everything posted by niche

  1. This might work for you: https://stackoverflow.com/questions/12019119/automatically-switch-horizontal-vertical-design-with-css-w-o-javascript/12019144
  2. What's your code look like, so far?
  3. niche

    Form output issue

    Looks like your while loop is open
  4. <div class="field--item"><a href="https://www.example.com">visit my website</a></div> https://www.w3schools.com/tags/tag_a.asp
  5. That's always answered by a selector's proximity to an element. The closest selector gets the last word, in simple situations outlined in the "All CSS Simple Selectors", in the link from my original post. EDIT: Extreme example: inline css over rides all selectors.
  6. You're referring to selectors in CSS https://www.w3schools.com/css/css_selectors.asp EDIT: Just match your selectors to your stylesheets. It can be challenging to do that when using someone else's code depending on available documentation and a person's ability to read code.
  7. https://www.w3schools.com/sql/sql_select_into.asp Looks like a simple SELECT INTO will do the trick. Add a GROUP BY if you want to suppress duplication in id3
  8. Is this what you're talking about? https://stackoverflow.com/questions/45591769/the-correct-way-to-wrap-a-button-with-a-link
  9. where's your php? action=" " means there needs to be php at the bottom of the file that represents your your first example
  10. something like this might work for you: https://www.w3schools.com/js/js_htmldom_css.asp
  11. niche

    layout grid

    What's the html look like?
  12. niche

    layout grid

    how bout some context?
  13. Based on what's just in your question, all you need is the html table tag. https://www.w3schools.com/html/html_tables.asp Why did you post your question as a php ques?
  14. Basically, you're going to need to decide how you're going get mkdir() into your script or something like it. You're dancing around the concept of handling sessions whether of not you actually use the $_SESSION array. EDIT: Or, modify the uploaded filename to get user id in it. Either way, you'll need to sanitize user supplied inputs and probably need to add one or more inputs to your form. Best to remember what dsonesuk said.
  15. dsonesuk is absolutely right. Going from html and scripts you might’ve found on the web to writing scripts for your use, based on your situation, is a big DOABLE step. Else, you’ll have difficulty finding what you need off the self or will need to pay someone to write it for you. The trouble with paying someone, when you don’t code is managing that project. The days when someone with money and low skills can hire someone with skills are vanishing, especially if you want to be totally satisfied with your code project. If your want to do this, your first job is to set up your localhost. You can get it at wampserver.com. IT’S FREE! EDIT: 2nd job is to start the php and mysql tutorials so you can ask informed questions. People that can show a little diligence frequently get enough code, from the forums to get ‘em over their current challenge, but that’s not a guarantee. Qapla!
  16. What database are you using?
  17. have you done the tutorials including the css tutorials?
  18. php that dynamically defines new input(s) you'd need to add to your form to id uploader and/or folder
  19. I don't see additional columns and didn't see any css in your post. I stripped out the php and added borders and got what i expected: EDIT: What does a row or two of your results actually look like? <!DOCTYPE html> <html> <head> <style> table, th, td { border: 1px solid black; } table { width: 100%; } </style> <head> <body> <div><table ><tr><th>Posted By</th><th id="msg">Message</th></tr></div> <tr><td>$row['first_name'] $row['last_name']<br>$row['post_date']</td> <td>$row['message'</td> </tr> <tr><td>$row['first_name'] $row['last_name']<br>$row['post_date']</td> <td>$row['message'</td> </tr> <tr><td>$row['first_name'] $row['last_name']<br>$row['post_date']</td> <td>$row['message'</td> </tr> <tr><td>$row['first_name'] $row['last_name']<br>$row['post_date']</td> <td>$row['message'</td> </tr> </table> </body> </html>
  20. delete the "+ 6" and you'll see what's happening
  21. We'll need to see your code as far as you've taken it.
  22. Play around with this tuit and you'll get a hang for what you want to do next. https://www.w3schools.com/php/func_mail_mail.asp
  23. classi. gli id sono sempre unici.
×
×
  • Create New...