Troubleshooting

if (!$result) {
die('Invalid query: ' . mysql_error());
}
Just to make sure that errors get properly sent out to the user
Say I am adding the same actor twice
This is padded to almost all sql queries