Helló. baj van :/ (utálom az ilyen mysql-os dolgokat.....)
ahh.. betettem a WAMP progival ahogy kell, phpmyadminba csináltam egy adatbázist, abba feltöltöttem az SQL-t amit te is feltettél ide, beolvasta rendesen, func.php-be átírtam így:  
$db_con = mysql_connect($sql[\"samp\"], $sql[\"samp\"], $sql[\"samp\"]);
$db_db    = mysql_select_db($sql[\"samp\"]);
 (már bepipultam és mindennek a sampot írtam...) és semmi.. csak ez a hiba: 
( ! ) Notice: Undefined index: samp in D:\\wamp\\www\\inc\\func.php on line 6
Call Stack
#   Time   Memory   Function   Location
1   0.0010   142544   {main}( )   ..\\index.php:0
2   0.0020   178784   require_once( \'D:\\wamp\\www\\inc\\func.php\' )   ..\\index.php:3
( ! ) Notice: Undefined index: samp in D:\\wamp\\www\\inc\\func.php on line 6
Call Stack
#   Time   Memory   Function   Location
1   0.0010   142544   {main}( )   ..\\index.php:0
2   0.0020   178784   require_once( \'D:\\wamp\\www\\inc\\func.php\' )   ..\\index.php:3
( ! ) Notice: Undefined index: samp in D:\\wamp\\www\\inc\\func.php on line 6
Call Stack
#   Time   Memory   Function   Location
1   0.0010   142544   {main}( )   ..\\index.php:0
2   0.0020   178784   require_once( \'D:\\wamp\\www\\inc\\func.php\' )   ..\\index.php:3
( ! ) Deprecated: mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in D:\\wamp\\www\\inc\\func.php on line 6
Call Stack
#   Time   Memory   Function   Location
1   0.0010   142544   {main}( )   ..\\index.php:0
2   0.0020   178784   require_once( \'D:\\wamp\\www\\inc\\func.php\' )   ..\\index.php:3
3   0.0117   216048   mysql_connect ( )   ..\\func.php:6
( ! ) Notice: Undefined index: samp in D:\\wamp\\www\\inc\\func.php on line 7
Call Stack
#   Time   Memory   Function   Location
1   0.0010   142544   {main}( )   ..\\index.php:0
2   0.0020   178784   require_once( \'D:\\wamp\\www\\inc\\func.php\' )   ..\\index.php:3
Nem tudtam csatlakozni az adatbázishoz: Aucune base n\'a été sélectionnée
 Válaszod elõre köszönöm.
Ha én b*tam el valamit, akkor sry.