Jump to content
php.lv forumi

mysql plz loti vajag


boyzz

Recommended Posts

Lai ērtāk būtu, uztaisi f-ju

 

function mysql_query_dub($sql,$dub = false)
{
global $mysql_conn;
global $mysql_conn2;

mysql_query($sql,$mysql_conn);

if ($dub && !empty($mysql_conn2))
	 mysql_query($sql,$mysql_conn2)
}

 

Bet liekas, ka varēja uztaisīt arī Mysql-Replication vai arī MySQL-Cluster

Link to comment
Share on other sites

man tada tabula nav mysql_connect,

un ja varat izskaidrojat vienkaarshaak,jo es tiesam pagaidam loti maz saprotu no mysql :)

 

un velviena problema,man izmet sitadu error,man sitadu izmet pirmo reizi,tas ir uz taa otraa PC

 

Warning: Unknown (x:xxxxxxxxx\www\amxbans\index.php): failed to open stream: Permission denied in Unknown on line 0

 

Warning: (null)(): Failed opening ('x:xxxxxxxxx\www\amxbans\index.php' for inclusion (include_path='.;c:\php4\pear') in Unknown on line 0

 

uz mana pc viss aizgaaja Ideaali,uz vina nee

Edited by boyzz
Link to comment
Share on other sites

×
×
  • Create New...