Quotes Quotes Quotes
I created a quick little quote submission page, I have always found quotes to be interesting and fun. It was created using PHP, whilst using MySQL...
I created it on an iMac (Resolution 1024x769, millions of colors)
So, if the contrast seems way too dark, I'm working on balancing it out. I can't see what everyone else sees. I'll tweak the layout as I go
Anyways,
http://www.the-circle.net/database/submit_quote.php
http://www.the-circle.net/database/quotes.php
Now, please forgive me a little, I just took up PHP 24 hours ago and this is my first little experiment.
But I hope everything goes alright.
I created it on an iMac (Resolution 1024x769, millions of colors)
So, if the contrast seems way too dark, I'm working on balancing it out. I can't see what everyone else sees. I'll tweak the layout as I go
Anyways,
http://www.the-circle.net/database/submit_quote.php
http://www.the-circle.net/database/quotes.php
Now, please forgive me a little, I just took up PHP 24 hours ago and this is my first little experiment.

Comments
how did you begin?
Originally posted by Paul
wow cool!
how did you begin?
Well, I found a nice tutorial that used mysql and PHP,and it broke it down nicely, I had been programming in various languages for "awhile", so naturally, I was able to understand. I experimented for a couple hours, and used http://www.php.net whenever I got stuck.
Here is the link to the tutorial which I found helpful
http://www.csis.gvsu.edu/~adams/WebA...php_howto.html
This is the university I attend. But, actually, php is real simple if you had some programming experince. So I ahve found so far.
Originally posted by MagicFingers
mwahahahahaaaaa, you may be sorry you ever started this
Ahh yes, the slew of angry spammers. I am aware, thats why I created my own admin system, to deal with them. I also log IP's for possible bans if needed.
it shows up like this:
d/'oh
I think you escaped the single quote improperly. When taking data from a user to put into a database use addslashes() and when displaying that data I'm pretty sure you should use stripslashes() before you write it out to the screen. see if that fixes the problem
Originally posted by Willoughby
I submitted "d'oh" by Homer Simpson. It doesn't display properly.
it shows up like this:
d/'oh
I think you escaped the single quote improperly. When taking data from a user to put into a database use addslashes() and when displaying that data I'm pretty sure you should use stripslashes() before you write it out to the screen. see if that fixes the problem
I noticed! It's because of ' in the sentence, it will be fixed when I am able to access the pages and fix them
Originally posted by DMBand0026
It's down. As of 12:50 am CDT on Sunday.
Nah, I just assigned a vhost to it. So I had to move some files around to a new directory to make it work.
http://quotes.the-circle.net is the "new" page, which is really just a different directory :P
Originally posted by Wrong Robot
Very neat page, it's going to need some better navigation once it starts to get big.
Yup, working on developing that, categories, page browsing etc.
Originally posted by Crusader
Good job! Cool stuff. I think I seriously messed up my quote, but it is the only one from Chris Holmes so...
Email me the corrections needed, I'll test out my administration panel I created