Jump to content

Recommended Posts

Hello!

I'm struggling with a php tutorial. This one to be specific: https://webdamn.com/build-helpdesk-system-with-php-mysql/

I created the tables in the DB, I add users, but it won't let me login with them. I can't figure out what I'm missing and it's really starting to frustrate me.

What am I missing? Any ideas?

Edited by Kevin11
Link to comment
https://forums.phpfreaks.com/topic/310687-kevin/
Share on other sites

there's nothing about this code that makes it worth using.

well written code should be -

  1. secure
  2. provide a good user experience
  3. be simple, general-purpose, and reusable
  4. either work or tell you why it doesn't work

this code fails on all these points.

if you are just starting out, you need to start small. learn how to write valid html for a form with just a single form field and the php code needed to process the form data. learn how to securely build, execute, and test/use the result from SELECT and INSERT queries. you can then use the knowledge you have learned to produce ever increasingly complex applications or to debug code that others have written.

 

 

 

Link to comment
https://forums.phpfreaks.com/topic/310687-kevin/#findComment-1577490
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.