diff --git a/.index.php.swp b/.index.php.swp index 072e02a..f1cdd63 100644 Binary files a/.index.php.swp and b/.index.php.swp differ diff --git a/index.php b/index.php index 4a4462b..c02ebc3 100755 --- a/index.php +++ b/index.php @@ -30,7 +30,7 @@ function writeEntryforIndex() { die('

Connection failed:

' . mysql_error()); } - echo '

Connect1ed successfully

'; + //echo '

Connect1ed successfully

'; // $sql = 'SELECT video_id, video_url, video_name, username, date_upload, date_video, video_length, description, characters, players, game, stage, approved FROM video'; @@ -57,13 +57,14 @@ function writeEntryforIndex() { //Format for video_url //Get substring from url after '=' - $split = explode("=", $row['video_url']); + $splitUrl = explode("=", $row['video_url']); - + $splitChar = explode(",", $row['characters']); + $splitPlay = explode(",", $row['players']); echo "" . "
" . - "