Results 1 to 7 of 7
  1. #1
    Join Date
    Dec 2005
    Posts
    724
    Tokens
    0

    Default Need help with a install script.

    I need a script that when run will install some queries, +REP to all trys, i have tried a few ways and failed.I'm thinking maybe setting the queries in a array then using a mySQL query to install them all ?
    Last edited by Jae; 24-11-2006 at 02:41 PM.
    Starting webdesign again.

  2. #2
    Join Date
    Dec 2005
    Location
    Australia
    Posts
    693
    Tokens
    0

    Default

    mysql_query($query);

    ...

    Or be more specific as why you can't use that?
    XHTML, CSS, AJAX, JS, php, MySQL.

    --

    HxF moderators can't read timestamps.

  3. #3
    Join Date
    Dec 2005
    Posts
    724
    Tokens
    0

    Default

    I didn't try that, I thourght of it but didn't now the syntax.Ty rep+

    PS: How could i make a if statement to see if it worked ?
    Last edited by Jae; 24-11-2006 at 03:39 PM.
    Starting webdesign again.

  4. #4
    Join Date
    Dec 2005
    Location
    Australia
    Posts
    693
    Tokens
    0

    Default

    Just create the table(s) via phpmyadmin, and once it's done, click "create php code", or something like that, voila. Time saver.
    XHTML, CSS, AJAX, JS, php, MySQL.

    --

    HxF moderators can't read timestamps.

  5. #5
    Join Date
    Dec 2005
    Posts
    724
    Tokens
    0

    Default

    I'm making a script for my radio panel and i need the script to install all the queries when the page is loaded, and for it to tell them if its done.
    Starting webdesign again.

  6. #6
    Join Date
    Dec 2005
    Location
    Australia
    Posts
    693
    Tokens
    0

    Default

    So just make a dud database, add all the tables, after each one, paste the code from "create php code" into a mysql_query and do it all at once.
    XHTML, CSS, AJAX, JS, php, MySQL.

    --

    HxF moderators can't read timestamps.

  7. #7
    Join Date
    Dec 2005
    Posts
    724
    Tokens
    0

    Default

    kk tyvm
    Starting webdesign again.

Posting Permissions

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