Jump to content


  • Posts

  • Joined

  • Last visited

  • Days Won


niche last won the day on June 20

niche had the most liked content!


About niche

  • Birthday 01/01/1958

Previous Fields

  • Languages
    php, mysql, html, css, javascript

Profile Information

  • Location
    Lincoln, Nebraska, USA
  • Interests
    coding, inventing, selling, building large scale models, sci fi

Recent Profile Visitors

56,432 profile views

niche's Achievements

Devoted Member

Devoted Member (5/7)



  1. 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.
  2. 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!
  3. What database are you using?
  4. have you done the tutorials including the css tutorials?
  5. php that dynamically defines new input(s) you'd need to add to your form to id uploader and/or folder
  6. 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>
  7. delete the "+ 6" and you'll see what's happening
  8. We'll need to see your code as far as you've taken it.
  9. 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
  10. classi. gli id sono sempre unici.
  11. There's all kinds potential reasons for your code not to work. Please repost your code using the code tags so we can copy paste it, for a closer look. In the meantime, add this snippet to line two of your contact.php file: var_dump($_POST); That will tell you what you're actually getting from your form. So, let us also know what you're seeing. FYI, your problem may not be with you code. Your server may not be set up to send emails. Use this tutorial to check that out and let us know what happened: https://www.w3schools.com/php/func_mail_mail.asp
  12. niche


    my bad. i will stop that. please accept my apology. as I recall, there was a there was a time, years ago, that posters occasionally referred to you that way. whether that's true or not, it sounds like you probably don't like it. i meant to imply that we've been posting to this forum for a very long time. i meant absolutely no disparagement. in fact, i have a great deal of respect for you, especially your willingness to provide code snippets. your friend, che
  13. niche


    That's the problem suk was alluding to. You don't need to know how something actually works to be able to use it, until it misbehaves. Then you either have to replace or repair it. Telling a mechanic, that you don't know how to fix your car, just means he's going to charge you for the repair. He already knows you don't know. The cost to use a code forum is to know something about your code. Look at jimfog's forum questions. He always asked informed questions and he always gets prompt answers. As Mr Data says, admitting you don't know is the beginning of knowledge. Just the beginning. Besides that, I think you have a bigger problem in my opinion. That page will never fit on a smartphone.
  • Create New...