<?php
$db = mysql_connect("localhost", "username", "pass");
if(!$db) echo "Cannot connect to the database - incorrect details";
mysql_select_db('myuser_mydbname'); $result=mysql_query('show tables');
while($tables = mysql_fetch_array($result)) {
foreach ($tables as $key => $value) {
mysql_query("ALTER TABLE $value COLLATE utf8_slovenian_ci");
}}
echo "The collation of your database has been successfully changed!";
?>
Posts Tagged ‘to’
How to change the collation for all tables in a MySQL database to UTF-8?
Monday, February 22nd, 2010How to install LaTeX on Ubuntu
Monday, March 16th, 2009V terminal vnesite naslednje ukaze:
sudo apt-get install tetex-base
sudo apt-get install tetex-bin
sudo apt-get install tetex-extra
sudo apt-get install latex-xft-fonts
sudo apt-get install latex-beamer
sudo apt-get install kile
Po uspešni namestitvi vseh paketov vam bo Latex deloval.



![Validate my RSS feed [Valid RSS]](wp-content/uploads/valid-rss.png)


