[b]PHP Shoutbox Tutorial[/b]
[i]By Dren T. Martin[/i]
Shoutboxes had a really big need by many webmasters not so long ago. Over the past few months or year I\'ve noticed that they\'re not that wanted on websites, but I do know that there are many websites that use them. They\'re a great tool to add some type of interactivity to your website. Now, I\'m sure that you are someone that frowns upon shoutboxes and see them as a waste of space or you are someone who really wants one because they\'re cool or you would like somewhere for your visitors to leave messages to you. No matter which one of these people you are this tutorial can benefit you. What I\'m going to go over in this tutorial:[list]
[*] Making a database in MySQL
[*] Adding information to a MySQL database
[*] Retrieving data from a MySQL database
[*] Using while statements
[*] Making and using arrays
[/list]All of this is knowledge you will need to learn to start out with php. Most of this is simple, but all of it is needed to really start with PHP and MySQL driven websites. If you have any problems with this tutorial please register if you haven\'t already and post here with your problems. I will be more than happy to assist you in a prompt manner <img src=\'http://www.killanet.net/forum3/public/s ... /smile.gif\' class=\'bbc_emoticon\' alt=\':)\' /> With that said, let\'s get started!
~~~~~~~~~
What you will need:[list]
[*]Server with the following: Apache, PHP, and MySQL
[*]PHPMyAdmin Installed on the server
[*]Notepad or another text/programming editor
[*]Your eyes to read
[/list]If you do not have Apache, PHP, MySQL, or PHPMyAdmin installed on your server you can do a quick google search to get them all or you can do what I do and just download [url=\"http://www.apachefriends.org/en/xampp-windows.html\"]XAMPP[/url] and you\'ll be all set as it is a package of everything you need to develop a website (This includes everything you need installed on your server for this tutorial)
Now that I\'m sure you have a webserver up and running with PHPMyAdmin, PHP, MySQL, and Apache I can [i]surely[/i] start now, right? Let\'s take a look at how to start your new shoutbox database. The database is where all of our data will be stored in a table for the shout, shouters name, and the date or time. Think of the database as a big box and then think of the table (where our data is stored) as smaller boxes inside the bigger box. It\'s complicated to some and easily understood by some. It just depends on what kind of a person you are, but don\'t worry -- you will understand it sooner or later. Let\'s take a look at how to make these databases and tables in PHPMyAdmin.
If you\'re running XAMMP, you will need to go to this url to access PHPMyAdmin:
[u]localhost/phpmyadmin/[/u]
This should bring up an interface for you to create/edit/delete databases and get access to virtually anything that you have stored in the databases. When you\'re working with databases and other things you need to store on your website through MySQL, you\'ll find yourself here a lot.
[code]
[b]THIS IS AN UNFINISHED TUTORIAL I AM WRITING. PLEASE DO NOT EDIT/DELETE/TAMPER THIS AS IT IS A WIP AND WILL BE POSTED TO THE PUBLIC AT A LATER DATE[/b]
Josh's stuff for reference..leave this alone :[
Moderators: Moderator, Global Moderator
Josh's stuff for reference..leave this alone :[
Last edited by Josh on Sat Jul 15, 2006 8:36 am, edited 1 time in total.
[align=center]

“If you stop learning, you stop living.” ~Tami Quiring
“It's the rare man who understands the value of a single perfect rose.”
[/align]

“If you stop learning, you stop living.” ~Tami Quiring
“It's the rare man who understands the value of a single perfect rose.”
[/align]
Jump to
- General Category
- ↳ KillaNet Country
- ↳ 2D Graphics
- ↳ KillaNet News
- ↳ 3D & Animation
- ↳ Chatroom
- ↳ Flash
- ↳ Help & Suggestions
- ↳ Game Dev
- ↳ Audio & Video
- ↳ Introductions
- ↳ Journalism
- ↳ Phoenix Lounge
- ↳ Application Dev
- ↳ Toga Toga Toga!!!
- ↳ Photography
- ↳ Main Street Archives
- ↳ Web Design
- ↳ Fonts Icons Cursors & Screensavers
- ↳ Book Reviews
- ↳ General
- ↳ Tech Industry News
- ↳ Legal Resources
- ↳ Industry Contests
- ↳ Graphix Battle Arena
- ↳ KillaNet Contests
- ↳ Competition Archives
- ↳ Education Information
- ↳ Careers
- ↳ Game Studies
- ↳ Motivation
- ↳ Conferences & Seminars
- ↳ KillaDesign
- ↳ Animation & Film
- ↳ The Studio
- ↳ Game Development
- ↳ 2D Graphics
- ↳ Audio & Video
- ↳ 3D Graphics
- ↳ Flash
- ↳ Fonts, Icons & Emoticons
- ↳ Design Requests
- ↳ PhotoShop
- ↳ Cinema 4D
- ↳ Bryce
- ↳ Flash
- ↳ Paint Shop Pro
- ↳ Blender
- ↳ Poser
- ↳ The Darkroom
- ↳ Photo & Camera Discussion
- ↳ Photo Journalism
- ↳ Web Design Principles
- ↳ PHP & MySQL
- ↳ Designing For Print
- ↳ Writer\'s Desk
- ↳ Fiction Writing
- ↳ News Journalism
- ↳ Poetry
- ↳ Technical Writing
- ↳ Biographical Writing
- ↳ General Writing Resources
- ↳ Promotional Writing
- ↳ Film & Television
- ↳ VideoGames
- ↳ Computer Department
- ↳ General Discussion
- ↳ Windows Help
- ↳ Linux Help
- ↳ Builds & Mods
- ↳ Geek Gadgets
- ↳ Security
- ↳ Dev Discussion
- ↳ C++
- ↳ Visual Basic
- ↳ Java
- ↳ Application Skinning
- ↳ IRC Scripting
- ↳ Gaming Centre
- ↳ Guild Wars
- ↳ Aion
- ↳ Computer
- ↳ World of Warcraft
- ↳ Nintendo
- ↳ General RPG & MMORPG
- ↳ PlayStation
- ↳ XBox
- ↳ Other Consoles
- ↳ All Action
- ↳ Racers
- ↳ Sports
- ↳ FPS
- ↳ RTS
- ↳ Sim
- ↳ Casual Games
- ↳ Kids' Games
- ↳ Mobile Games
- ↳ Retro Games
- ↳ Challenges, Friendly Taunts & Discussion
- ↳ Game Requests & Bug Reports
- ↳ Open Source Games
- ↳ Puzzle Games
- ↳ HeadQuarters
- ↳ Uber Coffee Room
- ↳ KillaNet
- ↳ Coffee Room
- ↳ KillaNet
- ↳ KillaGraphix
- ↳ KillaHosting
- ↳ Marketing etc.
- ↳ Staff Issues
- ↳ Reference & Software
- ↳ Archives
- ↳ KillaBlogs
- ↳ Journalism
- ↳ Trash Can
