marcho10 Posted March 5, 2007 Report Share 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? Link to comment Share on other sites More sharing options...
andrisp Posted March 5, 2007 Report Share Posted March 5, 2007 Paskaties kā tu esi mysql_create_db fju izsaucis. Link to comment Share on other sites More sharing options...
marcho10 Posted March 5, 2007 Author Report Share Posted March 5, 2007 Nezinu taa bija rakstiit graamataa. Link to comment Share on other sites More sharing options...
marcho10 Posted March 5, 2007 Author Report Share Posted March 5, 2007 Kaa buus pareizi? Link to comment Share on other sites More sharing options...
Val Posted March 5, 2007 Report Share 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 Link to comment Share on other sites More sharing options...
andrisp Posted March 5, 2007 Report Share Posted March 5, 2007 mysql_create_db ($DBname,$link); PS. Kādā grāmatā ? Link to comment Share on other sites More sharing options...
Delfins Posted March 5, 2007 Report Share 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ē Link to comment Share on other sites More sharing options...
marcho10 Posted March 5, 2007 Author Report Share Posted March 5, 2007 Kaa man ievadiit datus tabulaa? Link to comment Share on other sites More sharing options...
andrisp Posted March 5, 2007 Report Share Posted March 5, 2007 mysql insert Link to comment Share on other sites More sharing options...
Recommended Posts