hallo ik heb script systeem gemaakt dat weten jullie wel maar ik kan geen script openen chek maar http://amhix.no-ip.info/pchawk/v2/script%20systeem/scripts.php

dit is het script

<?php
include("style.css");
include("config.php");
echo"<p>";
$select = "SELECT * FROM script";
$query = mysql_query($select);
$aantal = mysql_num_rows($query);

echo "Er bevinden zich al $aantal scripts in de database.<p>";
?>
Klik <a href="voegtoe.php">hier</a> om een script toe te voegen.<p>
<table width="100%" border="0">
<tr>
<td width="25%" bgcolor="#f2f2f2">Titel:</td>
<td width="25%" bgcolor="#f2f2f2">Categorie:</td>
<td width="25%" bgcolor="#f2f2f2"> Door:</td>
<td width="25%" bgcolor="#f2f2f2">Datum:</td>
</tr>
</table>
<?


$select ="SELECT * FROM script order by 'id' desc limit 40";
$sql = mysql_query($select);
while ($row = mysql_fetch_array($sql)) {
?>
<table width="100%" border="0" bordercolor="#CCCCCC">
<tr>
<td width="25%" bgcolor="#FFFFFF"><img src="script.gif"> <?php echo "<a href=\"script.php?id=$row[id]\">$row[titel]</a>"; ?></td>
<td width="25%" bgcolor="#FFFFFF"><?php echo "<b>$row[cat]</b>"; ?></td>
<td width="25%" bgcolor="#FFFFFF"><?php echo "$row[auteur]"; ?></td>
<td width="25%" bgcolor="#FFFFFF"><?php echo "$row[datum]"; ?></td>
</tr>
</table>
<?
}
?>

ik kan et niet vinder hoor iemand hulp.
hal die spatie eens uit je dir :)

script%20systeem

maak daarvan scriptsysteem ipv met spatie .. spaties zijn niet netjes en het mag officieel ook niet!!
waar staat die dan?
Zeker dat je dat zelf geschreven hebt paul? :))
Zeker dat je dat zelf geschreven hebt paul? :))

Neej maar dat maakt niet uit joh :)
Soms pak ik ook wel wat van ut web :P
Neej maar dat maakt niet uit joh :)
Soms pak ik ook wel wat van ut web :P


Mja 'k, maar zeg dan niet grandioos dat je het zelf gemaakt hebt... Eer wie eer toekomt :-/ Zeg dan dat je het script hebt aangepast naar jouw zin ofzo :P
nee maar het werkt niet goed ik kan et niet openen de script die ik heb gepost kunnen jullie de fout vinden?
1) het script
2) het script dat
3) :P
4) php en apache versie bitte
5) weet je zeker dat de genoemde elementen in punt 4 goed werken?
6) succes
ja ik weet zeker dat alles goed werkt maar ligt et nie aan een tabel ofsow want als ik een script post bij mij script systeem krijg ik nik ste zien van een link ofsow.
oke nu heb ik in de mysql tabel effe gedit nu krijg ik het wel te zien dus het is iets met de connectie bij dit bestand:
-----------------------

<?php
include("style.css");
include("config.php");

$day = date("j");

$month = date("m");

$year = date("Y");

$space = "&nbsp;";



$month = str_replace("01", "Januari", $month);

$month = str_replace("02", "Februari", $month);

$month = str_replace("03", "Maart", $month);

$month = str_replace("04", "April", $month);

$month = str_replace("05", "Mei", $month);

$month = str_replace("06", "Juni", $month);

$month = str_replace("07", "Juli", $month);

$month = str_replace("08", "Augustus", $month);

$month = str_replace("09", "September", $month);

$month = str_replace("10", "Oktober", $month);

$month = str_replace("11", "November", $month);

$month = str_replace("12", "December", $month);



$time = date("H:i:s");

$datum = $day.$space.$month.$space.$year;


if ($_POST) {

if ($_POST['titel'] == '')
{
echo "Error! Titel niet ingevuld.";
}
elseif ($_POST['auteur'] == '')
{
echo "Error! Naam niet ingevuld.";
}
elseif ($_POST['email'] == '')
{
echo "Error! Email niet ingevuld.";
}
elseif ($_POST['uitleg'] == '')
{
echo "Error! Uitleg niet ingevuld.";
}
elseif ($_POST['code'] == '')
{
echo "Error! Code niet ingevuld.";
}

else {

$sql = "INSERT INTO script (titel, cat, auteur, email, datum, ip, uitleg, code)
VALUES ('".$titel."', '".$cat."', '".$auteur."', '".$email."', '".$datum."', '".$ip."', '".addslashes($_POST['uitleg'])."', '".$code."')";
mysql_query($sql) or die ("fout in query");


echo "Script is succesvol toegevoegd.<p>";
echo "<a href=\"scripts.php\">Ga naar de index</a>";

}
}
else {
?>

<form action="voegtoe.php" method="post">
<b>Titel:</b><br>
<input type="text" name="titel">
<br>
<b>Categorie:</b><br>
<select name="cat">
<option>Kies je Categorie</option>
<option>--------------------</option>
<option value="HTML">HTML</option>
<option value="PHP">PHP</option>
<option value="PHP &amp; MySQL">PHP &amp; MySQL</option>
<option value="MySQL">MySQL</option>
<option value="Javascript">Javascript</option>
<option value="CSS">CSS</option>
<option value="Overige">Overige</option>
</select>
<br>
<b>Auteur:</b><br>
<input type="text" name="auteur">
<br>
<b>E-mail:</b><br>
<input type="text" name="email">
<br>
<br>
<b>Uitleg:</b>
<p>
<textarea name="uitleg" cols="90" rows="10" id="uitleg"></textarea>
<br>
<br><b>Code:</b><p>
<textarea name="code" cols="90" rows="10" id="code"></textarea>
<p><input type="submit" name="Submit" value="Toevoegen">
</form>

<?php }
?>


-------------------------


aub help me

Reageren