Little bit confussed.

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
KevinJD
Forum Newbie
Posts: 3
Joined: Fri May 01, 2009 8:22 am

Little bit confussed.

Post by KevinJD »

Well ive watched loads of tutorials, ive got O'REILLY's Learning PHP and MySQL 2nd Edition book and still, i don't know where to start with coding, i know basics of PHP and mySQL and Object Oriented Programming, but i don't have a clue what to code. I was thinking about coding a text based game but i didnt know where to start, then i started coding a blog which was very basic with a login / register / new blog / edit blog / update blog features it was pretty basic, the layout and design was awfull as im no good at designing or laying out. I just dont know where to start or what to start with.

Maybe you guys can point me in the right direction, what did you guys first code when you was ameaturs like me! maybe some can suggest something for me to code.

Thanks alot :)

/KevinJD
watson516
Forum Contributor
Posts: 198
Joined: Mon Mar 20, 2006 9:19 pm
Location: Hamilton, Ontario

Re: Little bit confussed.

Post by watson516 »

Continue on with your blog system. Have you included a login page? You could track visitors by ip, sort blog posts by month, allow visitors to comment, allow the author to delete comments, add bbcode to the posts, add rss feed, display online visitors, add a contact form to allow visitors to contact the author, create a registration script to allow visitors to sign up and create their own blogs, etc.
KevinJD
Forum Newbie
Posts: 3
Joined: Fri May 01, 2009 8:22 am

Re: Little bit confussed.

Post by KevinJD »

Ive already added the login and register system, and let them update and delete blogs and add new ones i will continue to add what you suggest, thanks alot!!

/Kev
User avatar
McInfo
DevNet Resident
Posts: 1532
Joined: Wed Apr 01, 2009 1:31 pm

Re: Little bit confussed.

Post by McInfo »

Puzzle solvers are always a good programming exercise, like a program to solve a number game like Sudoku or a word game like Wheel of Fortune.

You could write a calendar, then add the ability to track events.

Data collection and statistical analysis could be interesting. Write a graphing program. Or see if you can guess the numbers for the next lottery drawing.

Edit: This post was recovered from search engine cache.
Last edited by McInfo on Tue Jun 15, 2010 2:28 pm, edited 1 time in total.
KevinJD
Forum Newbie
Posts: 3
Joined: Fri May 01, 2009 8:22 am

Re: Little bit confussed.

Post by KevinJD »

How would i display the users blogs, so far i have this but it doesnt look nice it looks messy and unprofessional..

Code: Select all

 
 <div id="content" align="center">
         <?php
            $get_info = mysql_query("SELECT * FROM blog WHERE uid = '$uid'");
 
            while($info = mysql_fetch_array($get_info)) {
                echo "<table>";
                echo "<tr>";
                echo "<td> <h2>" .$info['author']. "</h2></td>";
                echo "</tr>";
                echo "<tr>";
                echo "<td> <h3>" .$info['title']. "</h3></td>";
            }
           
         ?>
    </div>
 
Thanks

/KevinJD
Post Reply