marcho10 Posted March 5, 2007 Report Posted March 5, 2007 <HTML> <HEAD> <TITLE>create db</TITLE> </HEAD> <BODY> <?php $host="localhost"; $user="root"; $password="marcho100"; $DBname="metrum"; $link=mysql_connect ($host,$user,$password); mysql_create_db ($DBname,$link)){ mysql_close ($link); ?> </BODY> </HTML> un man raksta: Parse error: parse error in c:\easyphp1-8\www\test\create_db.php on line 12 Kas par problēmu?
andrisp Posted March 5, 2007 Report Posted March 5, 2007 Paskaties kā tu esi mysql_create_db fju izsaucis.
Val Posted March 5, 2007 Report Posted March 5, 2007 (edited) http://lv.php.net/mysql_create_db p.s. paskaties arī uz iekavām Edited March 5, 2007 by Val
andrisp Posted March 5, 2007 Report Posted March 5, 2007 mysql_create_db ($DBname,$link); PS. Kādā grāmatā ?
Delfins Posted March 5, 2007 Report Posted March 5, 2007 Vispirms jāiemācās PHP sintakse Pēctam jāiemācās programmēt Tikai tad ķerties pie DB. PS: kļūda tev ir sintaksē
Recommended Posts