PHP+MySQL
ya novichok v php+mysql,
ya ne smog sozdavat database na mysql cherez php , a tak na samom mysql'e sozdal
<?php
$connect = mysql_connect('localhost', 'nur', '1234') or die ('error in connection.');
mysql_create_db('wiley') or die(mysql_error());
mysql_select_db ('wiley');
$movie = "CREATE TABLE movie (
movie_id int(11) NOT NULL auto_increment,
movie_name varchar(255) NOT NULL,
movie_type tinyint(2) NOT NULL default 0,
movie_year int(4) NOT NULL default 0,
movie_leadactor int(11) NOT NULL default 0,
movie_director int(11) NOT NULL default 0,
PRIMARY KEY (movie_id),
KEY movie_type (movie_type,movie_year)
) TYPE=MyISAM AUTO_INCREMENT=4 ";
$results = mysql_query($movie) or die (mysql_error());
nu voobshem.. vot tak... i koroche ya dobavil informatsiyu no tak i ne smog na browsere videt ili voobshe s dannimi niche ne smog , ya ne ponel ili ne mogu soedinitsya na mysql , posovetuyte pojaluysta.....
PS: koda zapuskayu file v browsere nichego ne vyvoditsya , absolutno pust
Уже разрулили в аське