PHP / MySQL

  • Page

    of 2 First / Last

    Previous
  • BravoGolf Moderator 17 Oct 2005 16:20:19 12,745 posts
    Seen 3 hours ago
    Registered 11 years ago
    Awight, EG Massive, anyone know of some good online resources for PHP / MySQL (besides Google :))?

    Am starting a project with the above and honestly don't know much about it at all (although I am familiar enough with ASP and SQL commands but the server I'm with does not have ASP support).

    Stuff so basic even that even Google won't help me (like how to alternate colour rows per row!).
  • pjmaybe 17 Oct 2005 16:21:49 70,676 posts
    Seen 5 years ago
    Registered 13 years ago
    A one stop shop

    Peej
  • BravoGolf Moderator 17 Oct 2005 16:26:57 12,745 posts
    Seen 3 hours ago
    Registered 11 years ago
    Peej, I was hoping you'd reply :) I saw you previous threads (searched prior to posting) and figured you'd be an expert.

    If I could shake your hand, I would :-D

    What are you views on being constantly harassed by questions ;)?

    Sourceforge isn't loading at the mo for some really weird reason. Does that show examples of code and stuff? I thought it was only for actual open source packages?

  • pjmaybe 17 Oct 2005 16:29:50 70,676 posts
    Seen 5 years ago
    Registered 13 years ago
    There's bits and bobs of all sorts. Complete packages, right down to clever bits of code.

    Ask away btw, or chuck me an email (check my profile) - I'm around for the next couple of days at least till i have a week off, but if there's owt I can help with fire away.

    Peej
  • BravoGolf Moderator 17 Oct 2005 16:32:29 12,745 posts
    Seen 3 hours ago
    Registered 11 years ago
    pjmaybe wrote:
    There's bits and bobs of all sorts. Complete packages, right down to clever bits of code.

    Ask away btw, or chuck me an email (check my profile) - I'm around for the next couple of days at least till i have a week off, but if there's owt I can help with fire away.

    Peej

    What are gentlemen you are! I'll try and not email you unless I really stuck :)
  • pjmaybe 17 Oct 2005 16:37:36 70,676 posts
    Seen 5 years ago
    Registered 13 years ago
    On the "Alternating colours" thing, I think it might be easier to do that with a style sheet rather than monkeying around with PHP script. Something like make every odd numbered index field one colour/background, and every even numbered index field a different colour...

    As I say, I'm no expert so I don't always arrive at the "perfect" solution to a PHP/MYSQL problem but the code still works in the end :)

    Peej
  • cartman 17 Oct 2005 16:38:37 323 posts
    Registered 9 years ago
    PHP.net is your friend. I program in PHP for a living so I should be able to help you if you get stuck.

    Edited by cartman at 16:42:51 17-10-2005
  • BravoGolf Moderator 17 Oct 2005 16:41:29 12,745 posts
    Seen 3 hours ago
    Registered 11 years ago
    pjmaybe wrote:
    On the "Alternating colours" thing, I think it might be easier to do that with a style sheet rather than monkeying around with PHP script. Something like make every odd numbered index field one colour/background, and every even numbered index field a different colour...

    As I say, I'm no expert so I don't always arrive at the "perfect" solution to a PHP/MYSQL problem but the code still works in the end :)

    Peej

    That's pretty much what I did with an ASP script! Linked each td tag to a CSS style depending on what the count variable was in an if loop :) Like so

    Edit: Crap, can't show even basic code.
  • pjmaybe 17 Oct 2005 16:42:58 70,676 posts
    Seen 5 years ago
    Registered 13 years ago
    Crikey, thats a lot more pro than my solution!!

    Peej
  • BravoGolf Moderator 17 Oct 2005 16:45:55 12,745 posts
    Seen 3 hours ago
    Registered 11 years ago
    Cheers guys :)

  • LaundroMat 17 Oct 2005 16:46:49 1,442 posts
    Seen 2 weeks ago
    Registered 13 years ago
    One of the best forums on this matter are those over at Tek-Tips. They never took GUI design lessons over there, but there are some very knowledgeable people who answer questions very fast.
  • cartman 17 Oct 2005 16:49:34 323 posts
    Registered 9 years ago
    Post deleted
  • HarryB 17 Feb 2007 13:27:21 6,201 posts
    Seen 1 day ago
    Registered 11 years ago
    done now, doesnt matter

    Edited by HarryB at 10:28:03 20-02-2007
  • MrDigital 27 Oct 2011 15:08:32 1,866 posts
    Seen 2 months ago
    Registered 4 years ago
    So, I've been doing some SQL at uni recently, and when there, we connect to an SQL server in the uni network. My question is, can I set up some sort of virtual server on my own laptop which I can use with a program like MySQL Workbench (which requires an SQL server address to connect to).

    Ta!

    Formerly TheStylishHobo and Geesh.

  • Deleted user 27 October 2011 15:19:50
    I use wampServer if thats what you mean, to create a test server on my local machine php, mysql, phpmyadmin etc.
  • GuitarWolf 27 Oct 2011 16:16:44 168 posts
    Seen 22 hours ago
    Registered 8 years ago
    Geesh wrote:
    So, I've been doing some SQL at uni recently, and when there, we connect to an SQL server in the uni network. My question is, can I set up some sort of virtual server on my own laptop which I can use with a program like MySQL Workbench (which requires an SQL server address to connect to).

    Ta!
    If you have MySQL installed on your computer you should be able to connect to local databases on your computer. With MySQL Workbench you should be able to see databases on your computer when you click New Connection. So you just have to create whatever databases you want first in whatever way is easiest to do so, maybe getting a dump of the server's db and restoring it on your computer.
  • X201 11 Nov 2011 05:48:18 15,486 posts
    Seen 14 minutes ago
    Registered 9 years ago
    Looks like the last post problem is back.
    Bizboy posted in this thread last, but his post isn't showing up
  • MrTomFTW Moderator 11 Nov 2011 07:30:47 38,263 posts
    Seen 2 minutes ago
    Registered 11 years ago
    That's because I banned him.

    Follow me on Twitter: @MrTom
    Voted by the community "Best mod" 2011, 2012 and 2013.

  • X201 11 Nov 2011 08:57:43 15,486 posts
    Seen 14 minutes ago
    Registered 9 years ago
    For asking about SQL? :eek:


    ;)

    Edited by X201 at 08:57:59 11-11-2011
  • MrTomFTW Moderator 11 Nov 2011 09:02:37 38,263 posts
    Seen 2 minutes ago
    Registered 11 years ago
    Yes.

    And it'll be you next if you don't buck your ideas up.

    Follow me on Twitter: @MrTom
    Voted by the community "Best mod" 2011, 2012 and 2013.

  • RedSparrows 14 Nov 2011 13:10:18 22,761 posts
    Seen 13 minutes ago
    Registered 7 years ago
    Hello.

    I am trying to do something with PhP and all that.

    However, using FileZilla, I have uploaded a load to my server and I can't find it!

    Essentially I want to install a PhP forum, (phpBB3), but after uploading through FTP I can't follow the PhPBB instructions - i.e. they say type www.mydomain.com/phpbb3/install. Says no address found, as though my files aren't there :(

    I am an utter amateur at this, so be nice.
  • AcidSnake 14 Nov 2011 13:13:04 7,278 posts
    Seen 4 hours ago
    Registered 8 years ago
    Not sure, maybe it needs to be unpacked first?

    Can you see the files in your FTP browser?

    AcidSnake - He can't see your sig, avatar, images or vids and talks about himself in the third person because he's proper old-skool...UID 24017

  • RedSparrows 14 Nov 2011 13:19:41 22,761 posts
    Seen 13 minutes ago
    Registered 7 years ago
    If I access the ftp.mydomain through Firefox, I can see them all there, as though they are online. It's when I type mydomain.com/phpbb3/install/index.php that it says 404 Not Found.

    I have unpacked it to my PC after downloading from the phpbb people, then uploaded it through FileZilla through ftp.mydomain.com, and then I try and follow the php instructions... :s
  • Deleted user 14 November 2011 13:24:52
    The home folder of you FTP login is probably different to the document root of the web server.
  • AcidSnake 14 Nov 2011 13:26:39 7,278 posts
    Seen 4 hours ago
    Registered 8 years ago
    Sorry I can't be of more help, but I have never used those pre-made forum things...

    What permission have you given the folders/files?
    Maybe you don't have read/execute permissions?

    Also, try to see if no htaccess is in place keeping you out...

    AcidSnake - He can't see your sig, avatar, images or vids and talks about himself in the third person because he's proper old-skool...UID 24017

  • RedSparrows 14 Nov 2011 13:27:13 22,761 posts
    Seen 13 minutes ago
    Registered 7 years ago
    Aha!



    How would I move them to the right index, then? :(
  • RedSparrows 14 Nov 2011 13:31:22 22,761 posts
    Seen 13 minutes ago
    Registered 7 years ago
    Nevermind, managed it. Ta for the advice guys, was me being really dumb.

    I'll learn my way through this, no fear.
  • Deleted user 14 November 2011 13:34:27
    Haha, be prepared for a world of pain :D
  • X201 14 Nov 2011 13:43:24 15,486 posts
    Seen 14 minutes ago
    Registered 9 years ago
    Think it was PHP.
    But the quote went something like...


    C++ will give you enough rope to hang yourself.
    PHP will help you tie the noose and build the gallows.
  • Page

    of 2 First / Last

    Previous
Log in or register to reply