Salve a tutti,
finalmente ho risolto tutti i problemi di connessione al db e riesco ad entrarci tranquillamente.
La tabella creata con un install.php è corretta e contiene i seguenti campi:
NOME (TIPO)
newsid (tinyint(4))
title (text)
story (text)
user (text)
date (text)
Riesco anche a scriverci dentro da phpMyAdmin e vedere il contenuto corretto dalla pagina view.php.
Il problema è che dalla pagina submit.php, che vi riporto, non riesco a scriverci niente:
codice:
<html>
<head>
<title>Example dot com - Ultimate News</title>
</head>
<body>
<font face="Verdana" size="2">
<form action=add.php method=post>
News Title - <input type=text name="title">
News Story - <textarea rows="7" name="story" cols="25"></textarea> - You can use HTML
News Poster - <input type=text name="user" value=admin>
News Date - <input type=text name="date">
<input type=submit value=Submit!>
</font>
</body>
</html>
Cosa sbaglio secondo voi? HELP!
Grazie!!
P.S. Comunque questp PHP è fortissimo!!!