Author Topic: adding a custom table  (Read 7070 times)

mellodi

  • Newbie
  • *
  • Posts: 2
    • View Profile
    • Email
adding a custom table
« on: August 16, 2015, 03:20:51 am »
Hi ,
I'm trying to add a table to my sql for saving some data. but I don't understand where to start.
I actually make it's model and controller but when I new from it's class in model it give me error 500. I add it's path to auto loader but it doesn't help .
what should I do?

steveg

  • Full Member
  • ***
  • Posts: 167
    • View Profile
Re: adding a custom table
« Reply #1 on: August 16, 2015, 02:37:06 pm »
Have you already added the table to mysql?  Or, is that your question - how to add a table to mysql?

mellodi

  • Newbie
  • *
  • Posts: 2
    • View Profile
    • Email
Re: adding a custom table
« Reply #2 on: August 17, 2015, 02:43:55 am »
yes, I added it to the SQL , i made the model and i was working with it controller but i can't new an object from it's model class , even after adding it's path to autoloader.

KelvinS687

  • Newbie
  • *
  • Posts: 1
    • View Profile
    • Cloud Web Hosting
Re: adding a custom table
« Reply #3 on: August 22, 2015, 10:36:07 am »
Did you check your PHP.ini settings?