+ Reply to Thread
Page 1 of 2
1 2 LastLast
Results 1 to 10 of 11

Thread: Simple banner rotator

  1. #1
    Moderator Jaan is a splendid one to behold Jaan is a splendid one to behold Jaan is a splendid one to behold Jaan is a splendid one to behold Jaan is a splendid one to behold Jaan is a splendid one to behold Jaan is a splendid one to behold Jaan's Avatar
    Join Date
    Dec 2006
    Location
    Estonia
    Age
    19
    Posts
    2,058
    Blog Entries
    13

    Simple banner rotator

    Last edited by Jaan; 06-08-2010 at 09:37 AM.

  2. #2
    Xav
    Xav is offline
    Code Slinger Xav has much to be proud of Xav has much to be proud of Xav has much to be proud of Xav has much to be proud of Xav has much to be proud of Xav has much to be proud of Xav has much to be proud of Xav has much to be proud of Xav has much to be proud of Xav's Avatar
    Join Date
    Mar 2008
    Location
    The North Pole
    Posts
    13,217
    Blog Entries
    13

    Re: Simple banner rotator

    I have just started learning PHP, and I am wondering - where do you insert the SQL code? Is it in a separate file, and if so, what sort of file?

    Quote Originally Posted by Jordan View Post
    Good members, like yourself, stick around and post for ages to come!
    Mr. Xav | Blog | Forums

  3. #3
    Co-Administrator John is a glorious beacon of light John is a glorious beacon of light John is a glorious beacon of light John is a glorious beacon of light John is a glorious beacon of light John's Avatar
    Join Date
    Jul 2006
    Age
    21
    Posts
    5,891
    Blog Entries
    25

    Re: Simple banner rotator

    Quote Originally Posted by Xav View Post
    I have just started learning PHP, and I am wondering - where do you insert the SQL code? Is it in a separate file, and if so, what sort of file?
    You insert it into your MySQL database.

  4. #4
    Programming God DevilsCharm is an unknown quantity at this point DevilsCharm's Avatar
    Join Date
    Jul 2006
    Posts
    885

    Re: Simple banner rotator

    Makes sense to insert SQL code into the MySQL database, indeed.

  5. #5
    Xav
    Xav is offline
    Code Slinger Xav has much to be proud of Xav has much to be proud of Xav has much to be proud of Xav has much to be proud of Xav has much to be proud of Xav has much to be proud of Xav has much to be proud of Xav has much to be proud of Xav has much to be proud of Xav's Avatar
    Join Date
    Mar 2008
    Location
    The North Pole
    Posts
    13,217
    Blog Entries
    13

    Re: Simple banner rotator

    I didn't know what it was at the time. I'm still a little confused, actually. Is the MySQL database a separate file, or not? And what sort of file is it?

    Quote Originally Posted by Jordan View Post
    Good members, like yourself, stick around and post for ages to come!
    Mr. Xav | Blog | Forums

  6. #6
    Moderator Jaan is a splendid one to behold Jaan is a splendid one to behold Jaan is a splendid one to behold Jaan is a splendid one to behold Jaan is a splendid one to behold Jaan is a splendid one to behold Jaan is a splendid one to behold Jaan's Avatar
    Join Date
    Dec 2006
    Location
    Estonia
    Age
    19
    Posts
    2,058
    Blog Entries
    13

    Re: Simple banner rotator


    mysql database isnt a file
    it's a database.. it's like server..

  7. #7
    Xav
    Xav is offline
    Code Slinger Xav has much to be proud of Xav has much to be proud of Xav has much to be proud of Xav has much to be proud of Xav has much to be proud of Xav has much to be proud of Xav has much to be proud of Xav has much to be proud of Xav has much to be proud of Xav's Avatar
    Join Date
    Mar 2008
    Location
    The North Pole
    Posts
    13,217
    Blog Entries
    13

    Re: Simple banner rotator

    OOHHHH... I still don't get a couple of things. Presumably they're already made, as web hosting providers offer a set amount of databases. So why do you need to create them using sql_create_database(), if they're already there?

    Quote Originally Posted by Jordan View Post
    Good members, like yourself, stick around and post for ages to come!
    Mr. Xav | Blog | Forums

  8. #8
    Moderator Jaan is a splendid one to behold Jaan is a splendid one to behold Jaan is a splendid one to behold Jaan is a splendid one to behold Jaan is a splendid one to behold Jaan is a splendid one to behold Jaan is a splendid one to behold Jaan's Avatar
    Join Date
    Dec 2006
    Location
    Estonia
    Age
    19
    Posts
    2,058
    Blog Entries
    13

    Re: Simple banner rotator

    you can use this function also if you have permission..
    BUT
    usually you are not permitted to do it..
    so..
    you must create databases in your Cpanel or phpMyAdmin

  9. #9
    Xav
    Xav is offline
    Code Slinger Xav has much to be proud of Xav has much to be proud of Xav has much to be proud of Xav has much to be proud of Xav has much to be proud of Xav has much to be proud of Xav has much to be proud of Xav has much to be proud of Xav has much to be proud of Xav's Avatar
    Join Date
    Mar 2008
    Location
    The North Pole
    Posts
    13,217
    Blog Entries
    13

    Re: Simple banner rotator

    Ok. I see now.

    Quote Originally Posted by Jordan View Post
    Good members, like yourself, stick around and post for ages to come!
    Mr. Xav | Blog | Forums

  10. #10
    Moderator Jaan is a splendid one to behold Jaan is a splendid one to behold Jaan is a splendid one to behold Jaan is a splendid one to behold Jaan is a splendid one to behold Jaan is a splendid one to behold Jaan is a splendid one to behold Jaan's Avatar
    Join Date
    Dec 2006
    Location
    Estonia
    Age
    19
    Posts
    2,058
    Blog Entries
    13

    Re: Simple banner rotator

    hmm.. you gave me an idea.. i'll create some tutorials about that

+ Reply to Thread
Page 1 of 2
1 2 LastLast

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

     

Similar Threads

  1. Project: ionFiles - Joomla Simple File Download
    By Jordan in forum Community Projects
    Replies: 370
    Last Post: 08-30-2010, 09:45 PM
  2. A simple timer
    By travy92 in forum VB Tutorials
    Replies: 3
    Last Post: 02-15-2010, 07:28 AM
  3. Tutorial - A Simple Stropwatch!
    By travy92 in forum VB Tutorials
    Replies: 19
    Last Post: 05-04-2009, 01:02 AM
  4. implementing a simple database
    By martybell in forum Visual Basic Programming
    Replies: 3
    Last Post: 11-06-2007, 02:25 PM
  5. Banner ads
    By DevilsCharm in forum Marketing
    Replies: 7
    Last Post: 07-06-2006, 08:33 AM