Feng Forum

Support => How To's => Topic started by: mellodi on August 16, 2015, 03:20:51 am

Title: adding a custom table
Post by: mellodi 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?
Title: Re: adding a custom table
Post by: steveg 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?
Title: Re: adding a custom table
Post by: mellodi 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.
Title: Re: adding a custom table
Post by: KelvinS687 on August 22, 2015, 10:36:07 am
Did you check your PHP.ini settings?