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

Thread: Simple banner rotator

  1. #1
    Jaan Guest

    Simple banner rotator

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

  2. CODECALL Circuit advertisement

     
  3. #2
    Join Date
    Mar 2008
    Location
    The North Pole
    Posts
    13,174
    Blog Entries
    13
    Rep Power
    114

    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

  4. #3
    Join Date
    Jul 2006
    Location
    Amherst, New York, United States
    Posts
    6,277
    Blog Entries
    26
    Rep Power
    20

    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.

  5. #4
    DevilsCharm's Avatar
    DevilsCharm is offline Programming God
    Join Date
    Jul 2006
    Posts
    884
    Rep Power
    0

    Re: Simple banner rotator

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

  6. #5
    Join Date
    Mar 2008
    Location
    The North Pole
    Posts
    13,174
    Blog Entries
    13
    Rep Power
    114

    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

  7. #6
    Jaan Guest

    Re: Simple banner rotator


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

  8. #7
    Join Date
    Mar 2008
    Location
    The North Pole
    Posts
    13,174
    Blog Entries
    13
    Rep Power
    114

    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

  9. #8
    Jaan Guest

    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

  10. #9
    Join Date
    Mar 2008
    Location
    The North Pole
    Posts
    13,174
    Blog Entries
    13
    Rep Power
    114

    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

  11. #10
    Jaan Guest

    Re: Simple banner rotator

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

+ Reply to Thread
Page 1 of 2 12 LastLast

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Scrolling banner with JS
    By PhPMeasure in forum JavaScript and CSS
    Replies: 0
    Last Post: 05-13-2008, 05:43 PM
  2. Banner ads
    By DevilsCharm in forum Marketing
    Replies: 7
    Last Post: 07-06-2006, 09:33 AM

Tags for this Thread

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