Parašė SonicMaster· 2008 Rugs. 30 15:09:22
#1
Taigi darau WAP portalėli. Chatas ten bus.
Ir man išmeta erorą su MSQL.
1: <?xml version="1.0" encoding="UTF-8"?><!DOCTYPE wml PUBLIC "-//WAPFORUM//DTD WML 1.2//EN" "http://www.wapforum.org/DTD/wml12.dtd"><wml><card id="WAPchat" title="«TEST»"><p align="center">Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)
Nors atrodo viską gerai surašau.
Pavizdys:
<?php
$title="«Forumas»";
$server="localhost"; ///cia standartas net neliesk
$user=" USER "; ///duomenu bazes useris
$pass=" PASS "; ///userio passwordas
$dbname=" DBNAME"; ///duombzes wardas
$sesDB = mysql_connect($server,$user,$pass);
mysql_select_db($dbname);?>
Redagavo SonicMaster· 2008 Rugs. 30 15:09:58