Page 2 of 2 First 12
  1. #16

    Registered
    29/07/02
    Location
    Hever
    Posts
    1,272
    iTrader
    23 (96%)
    Mentioned
    0 Post(s)
    Reputation
    0/1
    Table 'ibsite_uk_db.klas_agenda_weken' doesn't existYou have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near 'ORDER BY ID ASC' at line 1Week:

    Voorbije weken

    Dit komt er op, wat doe ik verkeerd ?
    Once again the Gods spread the cheeks to ram cock in fucking ass! - Quintus Lentulus Batiatus
    no votes  

  2. #17
    Dece's Avatar
    Registered
    25/10/02
    Location
    Ninove
    Posts
    829
    iTrader
    0
    Mentioned
    0 Post(s)
    Reputation
    0/0
    heb je de tables aangemaakt zoals beschreven in de uitleg?
    no votes  

  3. #18

    Registered
    29/07/02
    Location
    Hever
    Posts
    1,272
    iTrader
    23 (96%)
    Mentioned
    0 Post(s)
    Reputation
    0/1
    nee, hoe doe ik dat ?
    Once again the Gods spread the cheeks to ram cock in fucking ass! - Quintus Lentulus Batiatus
    no votes  

  4. #19
    Dece's Avatar
    Registered
    25/10/02
    Location
    Ninove
    Posts
    829
    iTrader
    0
    Mentioned
    0 Post(s)
    Reputation
    0/0
    run dit eens op je server met php en mysql db

    PHP Code:
    <?php
    mysql_connect
    ('localhost''user''paswoord');
    //user en paswoord zijn vb'en. je moet deze vervangen door de username en het paswoord van jouw hosting.

    mysql_select_db('db');

    $weken "CREATE TABLE `klas_agenda_weken` (
    `ID` int(11) NOT NULL auto_increment,
    `datum` tinytext NOT NULL,
    PRIMARY KEY (`ID`)
    ) TYPE=MyISAM;
    "
    ;
    mysql_query($weken) or die('kon table weken niet aanmaken omwille van' mysql_error());

    $posts "CREATE TABLE `klas_agenda_posts` (
    `ID` int(11) NOT NULL auto_increment,
    `week` int(11) NOT NULL default '0',
    `dag` tinytext NOT NULL,
    `uur1` tinytext NOT NULL,
    `uur2` tinytext NOT NULL,
    `uur3` tinytext NOT NULL,
    `uur4` tinytext NOT NULL,
    `uur5` tinytext NOT NULL,
    `uur6` tinytext NOT NULL,
    `uur7` tinytext NOT NULL,
    `uur8` tinytext NOT NULL,
    `uur1_txt` longtext NOT NULL,
    `uur2_txt` longtext NOT NULL,
    `uur3_txt` longtext NOT NULL,
    `uur4_txt` longtext NOT NULL,
    `uur5_txt` longtext NOT NULL,
    `uur6_txt` longtext NOT NULL,
    `uur7_txt` longtext NOT NULL,
    `uur8_txt` longtext NOT NULL,
    PRIMARY KEY (`ID`)
    ) TYPE=MyISAM; 
    "
    ;
    mysql_query($posts) or die('kon table posts niet aanmaken omwille van:' mysql_error());

    $uren "CREATE TABLE `klas_agenda_uurrooster` (
    `ID` int(11) NOT NULL auto_increment,
    `dag` int(11) NOT NULL default '0',
    `klas` tinytext NOT NULL,
    `uur1` mediumtext NOT NULL,
    `uur2` mediumtext NOT NULL,
    `uur3` mediumtext NOT NULL,
    `uur4` mediumtext NOT NULL,
    `uur5` mediumtext NOT NULL,
    `uur6` mediumtext NOT NULL,
    `uur7` mediumtext NOT NULL,
    `uur8` mediumtext NOT NULL,
    PRIMARY KEY (`ID`)
    ) TYPE=MyISAM; 
    "
    ;
    mysql_query($uren) or die ('kon table uren niet aanmaken omwille van:' mysql_error());


    echo 
    'Alle tables zijn succesvol aangemaakt');
    mysql_close()
    ?>
    en vergeet dit script na 1 maal te runnen niet van je server te verwijderen
    no votes  

  5. #20
    sneax's Avatar
    Registered
    25/07/02
    Location
    Aalst
    Posts
    13,457
    iTrader
    6 (100%)
    Mentioned
    0 Post(s)
    Reputation
    0/156
    Quote Originally Posted by Jerryboy
    This quote is hidden because you are ignoring this member. Show
    of mss een betere oplossing.
    Gebruik gewoon uw 'echte' agenda ...
    safir Thom4s
    no votes  

  6. #21

    Registered
    29/07/02
    Location
    Hever
    Posts
    1,272
    iTrader
    23 (96%)
    Mentioned
    0 Post(s)
    Reputation
    0/1
    mja tables worden aangemaakt maar fan dit

    You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near 'ORDER BY ID ASC' at line 1Week:

    Voorbije weken
    Once again the Gods spread the cheeks to ram cock in fucking ass! - Quintus Lentulus Batiatus
    no votes  

Posting Permissions

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

Log in

Log in