array (
0 =>
array (
'file' => '/home/karamoke/htdocs/includes/sqlfunc.php',
'line' => 68,
'function' => 'mysql_fetcharray',
'args' =>
array (
0 => 'SELECT t1.id FROM song AS t1, artist AS t2 WHERE t1.name=\'Mama don\'t let your babies grow up to be cowboys\' and t2.name=\'Waylon Jennings And Willie Nelson\' and t1.artist = t2.id',
),
),
1 =>
array (
'file' => '/home/karamoke/htdocs/includes/functions.php',
'line' => 1691,
'function' => 'mysql_fetchv',
'args' =>
array (
0 => 'SELECT t1.id FROM song AS t1, artist AS t2 WHERE t1.name=\'Mama don\'t let your babies grow up to be cowboys\' and t2.name=\'Waylon Jennings And Willie Nelson\' and t1.artist = t2.id',
),
),
2 =>
array (
'file' => '/home/karamoke/htdocs/index.php',
'line' => 48,
'function' => 'getSongByName',
'args' =>
array (
0 => 'Waylon Jennings And Willie Nelson',
1 => 'Mama don\'t let your babies grow up to be cowboys',
),
),
)
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 't let your babies grow up to be cowboys' and t2.name='Waylon Jennings And Willie' at line 1, line:44, file:/home/karamoke/htdocs/includes/sqlfunc.php SELECT t1.id FROM song AS t1, artist AS t2 WHERE t1.name='Mama don't let your babies grow up to be cowboys' and t2.name='Waylon Jennings And Willie Nelson' and t1.artist = t2.id