Parse error: parse error in /home/toms100/public_html/dl/admin/action/addmirror.php on line 50
offending article:
Code: Select all
<?php
$db = new DbClass();
$db->connectdb();
$sql = "INSERT INTO " . $config['dbprefix'] . "mirrors (`name`,`weburl`,`ftp`,`password`,`username`,`path`) VALUES ('" . $name . "','" . $weburl ."','" . $ftp['host'] . "','" . $ftp['pass'] . "','" . ftp['name'] . "','" . $ftp['path'] . "')" ; /// <---- Line 50
$db->exe($sql);
?>but ive been workin for hour or two and im tired and cant see what it is!
thanks for help:)