Help with PHP coding? - Page 2
Page 2 of 2 FirstFirst 1 2
Results 16 to 23 of 23

Thread: Help with PHP coding?

  1. #16
    Registered User
    Join Date
    Jun 2001
    Location
    LocalHost
    Posts
    762

    Post

    [quote]Originally posted by BurnFEST:
    <strong>I've had a look at your website...i take it your news is all php...and in order from newest to oldest...my only real problem right now is that...how do you do it?

    Burn.</strong><hr></blockquote>

    when you take the data from mysql you need to sort it in the query string

    example1:
    $sql = "select * from photo order by Pusername ASC";

    example2:
    $sql = "select * from photo order by Pusername DESC";

    ASC = a-z
    DESC - z-a

    ASC and DESC well sort it for you thats all you need to do.
    http://www.amd.com/us-en/assets/cont...uts/athlon.gif

    Do you leak any fluids, do you have any bumps on your rear, do you have any unpleasant odors?
    If you answered yes to any of these then you are not qualified to own a new AMD ATHLON XP.
    If someone ask you if you are running the all-new fastest AMD ATHLON XP, just turn around and reply "WHY YES, AND ITS CERTIFIED"

    http://www.daemonprojects.com/

  2. #17
    Registered User BurnFEST's Avatar
    Join Date
    Feb 2001
    Location
    Adelaide, South Australia
    Posts
    603

    Post

    You are the man! Thankyou very much! I'm now going to continue work on this webpage

    Thankyou very much for your help and i hope you dont mind me asking more questions every now and then

    Sam.

  3. #18
    Registered User +Daemon+'s Avatar
    Join Date
    Jan 2002
    Location
    RC, Ca
    Posts
    3,406

    Post

    I was playing around witht the page and I made a application where the users can modify there profiles.

    <a href="http://daemonprojects.com/windrivers/login/" target="_blank">http://daemonprojects.com/windrivers/login/</a>

    not all the way done

    also made a little change in the gamming page
    <a href="http://daemonprojects.com/windrivers/games.php" target="_blank">http://daemonprojects.com/windrivers/games.php</a>

    if you want the code to look through feel free to ask.

  4. #19
    Registered User +Daemon+'s Avatar
    Join Date
    Jan 2002
    Location
    RC, Ca
    Posts
    3,406

    Post

    I got your email, sorry I didnt email this to you but Im at work and not my home system so heres a link to the src of how to put all the photo pages into one page

    <a href="http://www.daemonprojects.com/windrivers/test.zip" target="_blank">http://www.daemonprojects.com/windrivers/test.zip</a>

    I did the first one for you (A)

    it should be straight forward

    here is the page when it is working
    <a href="http://daemonprojects.com/windrivers/test.php" target="_blank">http://daemonprojects.com/windrivers/test.php</a>

  5. #20

  6. #21
    Registered User BurnFEST's Avatar
    Join Date
    Feb 2001
    Location
    Adelaide, South Australia
    Posts
    603

    Post

    The page is all up and running!

    <a href="http://windriversfriends.cjb.net" target="_blank">http://windriversfriends.cjb.net</a>

  7. #22
    Registered User +Daemon+'s Avatar
    Join Date
    Jan 2002
    Location
    RC, Ca
    Posts
    3,406

    Post

    [quote]Originally posted by BurnFEST:
    <strong>The page is all up and running!

    <a href="http://windriversfriends.cjb.net" target="_blank">http://windriversfriends.cjb.net</a></strong><hr></blockquote>

    ahhh nice, how did you like coding it? Fun eh?

    with the database in and working with php it makes the site alot eaiser to manage

    I added my self to your database, but I got an error, may want to check up on it.

    Warning: open_basedir restriction in effect. File is in wrong directory in /mnt/host-users/microgen/windrivers/add.php on line 22

    Warning: fopen("/mnt/tmp/phpFOA5y1", "rb") - Operation not permitted in /mnt/host-users/microgen/windrivers/add.php on line 22

    Warning: Supplied argument is not a valid File-Handle resource in /mnt/host-users/microgen/windrivers/add.php on line 22

    User Added Successfully!!

  8. #23
    Registered User +Daemon+'s Avatar
    Join Date
    Jan 2002
    Location
    RC, Ca
    Posts
    3,406

    Post

    Thought you like to know, Ive started a PHP web Based game. Dont know what to call it yet.

    <a href="http://daemonprojects.com/game/" target="_blank">http://daemonprojects.com/game/</a>

    you can see it, but its not operational yet.
    Login = test
    password = test

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •