Rosst Posted December 6, 2006 Share Posted December 6, 2006 Ok, I'm not going to use that, but instead I am working on something else, a video website, like youtube, and well it's not working again, here are my codes.index.php:[code=php:0]<html><head><title>VideoPlayer</title><link href="style.css" rel="stylesheet" type="text/css"></head><body><div id="wrapper"><div id="head">VideoPlayer</div><br><div id="main"><?phpinclude("main.php");?></div><div id="content"></div></body></html>[/code]main.php[code=php:0]<?php$conn = mysql_connect("localhost", "rosst", "*********************");mysql_select_db("videos") or die(mysql_error());if (@!$_GET['cat']) {$mysql = mysql_query("SELECT*FROM cats ORDER BY id DESC");while ($m = mysql_fetch_array($mysql)) {echo "<a href=\"#\" onClick=\"ajaxFunction();\" id=\"cat\" value=\"".$m['id']."\">$m[name]</a><br />$m[desc]<hr />";}}else {if (@!$_GET['video']) {% Link to comment https://forums.phpfreaks.com/topic/29738-help/ Share on other sites More sharing options...
ober Posted December 7, 2006 Share Posted December 7, 2006 No offense, but your post doesn't make sense and you broke the forum guidelines with a worthless thread title. Closed.Try again and next time, post code that actually describes a problem... oh, and you MIGHT want to post the actual problem. Link to comment https://forums.phpfreaks.com/topic/29738-help/#findComment-136692 Share on other sites More sharing options...
Recommended Posts