-

  • (102)
  • web- (38)
  • (22)
  • (14)
  • (13)
  • (11)
  • (3)
  • (3)

 - e-mail

 

 -

   community_coding

 -

 LiveInternet.ru:
: 29.12.2004
:
:
: 536

:


PHP, MySQL.. ...

, 04 2008 . 01:39 +
Real_Rp .

- - .... MySQL


$hostname = "localhost";
$username = "prefix_username";
$password = "password";
$userstable = "name_of_table';

MYSQL_CONNECT($hostname,$username,$password) OR DIE(" ");
mysql_select_db("prefix_DBname") or die(" ");


$query = "INSERT INTO $userstable VALUES('','$header','$text', '$author', '$date')";

$result = MYSQL_QUERY($query);


- " "... , - phpMyAdmin'a...

- , ?)

, , , ...

web-

exs   , 04 2008 . 01:51 ()

code:

$connection = mysql_connect($hostname,$username,$password) OR DIE(" ");
mysql_select_db("prefix_DBname", $connection) or die(" ");

   
Real_Rp   , 04 2008 . 01:57 ()
exs,
!!!!!!!
!)
   
: [1] []
 

:
: 

: ( )

:

  URL