Categorized | MySQL

PHP Forum // Basic Layout

Posted on 30 July 2010 by Abidoon


Part 1 in PHP Forum Tutorial. Creating a simple layout. HD: phpsquad.net

Tags | , ,

25 Responses to “PHP Forum // Basic Layout”

  1. lsand says:

    Very useful tutorial dude!, I’m going to give phpDesigner a try . Thanks :-)

  2. kaeleon1111 says:

    @honeyj2c Hi thanx for the nice tutorial :) I use WebServ 2.0 is good and it’s working under Win Vista :)

  3. andrewvpover says:

    Great tut a usual ;) May I suggest using mysql COUNT instead of num_rows to see if a user exists =D e.g. “SELECT COUNT (*) FROM users WHERE uid=’{$userid_var}’ ” cause its faster and more server friendly

  4. dashbyictfd says:

    I cant read some of this, line 47 in index.php does it read

    $sql = “SELECT username FROM ‘users’ WHERE ‘id’=”.$_SESSION['uid'].”"; ???

    if not what is it?

  5. lifeg0eson666 says:

    @ivanjakovl Thanks for watching :)

  6. ivanjakovl says:

    Hey man, i just want to say thank you for these tutorials! You didn’t have to do them, but you did, just to help someone, and i really appriciate it.

    * * * * *

    Greetings from Croatia!

  7. ipisman100 says:

    do know how to create a php forum in coolpagebiz?

  8. lifeg0eson666 says:

    I use my localhost, you can set one up by searching Google for wamp ot xampp

  9. honeyj2c says:

    what is the web server u are going to used ?

  10. ABEDOODUDE says:

    man this is good jop dude good jop

  11. ABEDOODUDE says:

    this stuf its just daim good

  12. amitrajputguy says:

    Thank you Sir ,
    I fixed it ..there was a silly spell mistake in my code ….. ‘Users’ and ‘User’
    hahaahha
    Thnx a Tone …!!

  13. lifeg0eson666 says:

    Check the lines in your code that refer to: mysql_connect and mysql_select_db

  14. amitrajputguy says:

    Hi , Nice tutorial,
    I received a error called ‘No Database selected’
    Can you tell me how to solve this problem..?
    Thnx.

  15. altu892 says:

    nice text editor…

  16. VBMOSTWANTED says:

    Note: IF you do have a pass for ur database remember to put a comma ater your database username and put yur password.

  17. sanjaya1982 says:

    thks for this
    pls put Pagination tutorial

  18. thetechall says:

    what version of php are you using?

  19. lifeg0eson666 says:

    Should have? Lol, includes do not require parenthesis. I like my fonts special :D

  20. JROCK20041 says:

    Very well done. I would like to throw a few things I saw. First your include should have been written include(“something.php”); Also no need to keep specifying font attributes unless you are changing. This will keep your stylesheets small. Hope I did not offend ya by this.

  21. LooieFTW says:

    $sql = “SELECT `username` FROM `users` WHERE `id` = ” . $_SESSION['uid']) or die(mysql_error());

    Use that if you get an SQL error.

  22. rjc0l3 says:

    can you give me a download? I tried to do this and got way to many errors. I know you probably want me to do the work, but i’ve tried your method and other peoples and still got errors.

  23. crystalcyanide00 says:

    hi!!!
    even i am getting a same error as
    ljustin6 …
    can u help plz???

  24. ljustin6 says:

    I am getting this error
    You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ”’ at line 1

    I am using php 5 and mysql 5.1
    Please help

  25. BrandonioProductions says:

    13:54


Leave a Reply