Jump to content

HELP!


Rosst

Recommended Posts

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">
<?php
include("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
Share on other sites

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
Share on other sites

Guest
This topic is now closed to further replies.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.