We've noticed that you've been inactive for over 10 minute(s). We've stopped running the Shoutbox due to your inactivity. If you are back again, please click the I'm Back button below.
Now I get a 1075 error every time I try to do this. Btw do the things for id and title and content appear auto-matically because I typed them in like you showed. Help?
Below I have an attached file and under the text create new database it says: No Privileges. What exatly does this mean? I am confused. I barely know the slightest amount of php (i'm not that good of a scriptor i'm not stupid either lol). Help?
You cannot Create or Delete the databases from within MYSQL because the default user does not have the appropriate privileges. Instead, use the Web Hosting Control Panel (Site Management Tools -> MYSQL Databases) to Create or Delete Databases.
Below I have an attached file and under the text create new database it says: No Privileges. What exatly does this mean? I am confused. I barely know the slightest amount of php (i'm not that good of a scriptor i'm not stupid either lol). Help?
However, this doesn't seem like a very secure way to go about content management, as any old person could come along and edit or add pages.
And not only this. While the code is all fine, it is not secure enough. For example, if a host didn't have Magic Quotes on, inserting a text with apostrophes with in it would cause a MySQL error to occur. So, even if you are writing simple code (like this), it is highly recommended to sanitize user-entered data.
Well I have to say, thank you for taking the time to write this tutorial. For somebody who knows php fairly well, it is easy to follow.
However, this doesn't seem like a very secure way to go about content management, as any old person could come along and edit or add pages.
Also, it might be a little more helpful if you went into further detail with your explanations of the code....it is mainly code and little explanation, that means if I don't know much in the way of php or how to connect to a mysql database already....the code may not be very helpful to me.
#1075 - Incorrect table definition; there can be only one auto column and it must be defined as a key
What is wrong?
Yeah, don't do that again. When someone has an answer for you, they will reply. Don't post the same one line message over and over again. To begin with, the error message already tells you what to do! Assuming that you only have one field set for auto-increment, then go and set that as the table key!
If you have more than one field set for auto-increment, then unset the one that isn't correct.
Next time you want help with something, try to include some information with your request like an actual request.
Im going through the tutorial today, is it posible for me to get some extra points for this. I mean, I wrote all those things in the code and you dont get points for that...
Dude not everyone knows how to read PHP well. Really you should explain every line. A tutorial is something that explaines how something works, not just a bunch of code. I can read it but can average Bob read that. I know i can explain everything, buts its not my tutorial. If you wanna get more points from the admins, then maybe explain your tutorial, bit by bit.