Uuuuuuuuuuuups... sorry.....
Table is table, i misunderstood! :D
Yes, mysql_query() is correct. After a mysql_connect(), of course ;)
About the sql syntax needed, give a look here:
http://www.mysql.com/doc/en/CREATE_TABLE.html
About php tag:
the "nw" class is the one with color definitions.
$bericht = preg_replace('_\[PHP\](.*?)\[/PHP\]_ise', "highlight(trim(stripslashes(' \\1 ')))", $bericht);
function highlight($code){
ob_start();
$code = str_replace(" <?", "<?", $code);
$code = str_replace("
", "", $code);
$code = str_replace('\\"', '\"', $code);
$code = str_replace("
", "", $code);
$code = str_replace("<", "<", $code);
$code = str_replace(">", ">", $code);
$code = str_replace(""", "\"", $code);
$code = str_replace("&", "&", $code);
highlight_string($code);
$code = ob_get_contents();
ob_end_clean();
$data_lines = explode('
',$code);
for ($i=0, $j=count($data_lines); $i < $j; $i++) {
$k = $i + 1;
$ret .= ''.$k.'
'.$data_lines[$i]."
\n";
if (strlen($data_lines[$i]) > 450) {
$ret .= '
';
}
}
$string = "\n\n";
return $string;
}