charset - (slovenske črke)
 
Roky 10. maj 2008 12:05:30 Pridružen od:
9. apr 2008
2506 objav
3240 335 107
#11

G-force, priporočam ti, da greš po korakih, sem jih napisal na blogu, bolj nazorno težko če bo šlo.



Vini: collocation, charset ki ga uporablja MySQL za zapis podatkov. Izbereš bazo, klikneš na operations tag, izbereš collocation.


všeč(0) ni všeč(0) spam(0)
rok.meglic@gmail.com - 031 492 148
 
bbrez1 10. maj 2008 12:05:31 Pridružen od:
13. apr 2008
52 objav
5 0 0
#12

Kako to naredim preko phpMyadmin?




To vstaviš takoj za tem ko maš v kodi da se povežeš z bazo, torej za mysql_connect(....).


všeč(0) ni všeč(0) spam(0)
 
G-force 10. maj 2008 17:05:08 Pridružen od:
31. mar 2008
828 objav
516 60 3
#13

To vstaviš takoj za tem ko maš v kodi da se povežeš z bazo, torej za mysql_connect(....).




Našu sm edin tole kodo. A tu moram to vstaviti?


<?php

class mysql {

var $link;
var $querycount=0;
var $querylist='';

function connect($host, $username, $password, $db) {
$this->link = mysql_connect($host, $username, $password) or die("Could not connect.");
mysql_select_db($db) or die("Could not find database.");
}

function query($query) {
if (!($result = mysql_query($query))) {
ob_end_clean();
die("SQL Error: ".mysql_error()."<br />Query: $query<br />");
}

$this->querycount++;
$this->querylist.="<br />$query";
return $result;
}

function result($result, $row, $name) {
return mysql_result($result, $row, $name);
}

function numrows($result) {
$numrows = mysql_num_rows($result);
return $numrows;
}

function affectedrows() {
return mysql_affected_rows($this->link);
}

}

?>

Sicer bom v kratkem "problematično" stran preselil na drug strežnik in me zgolj informativno zanima, koliko bi mi računali (če mi samem ne bo uspelo) da bi mi to s šumniki uredili? :) (seveda dam geslo in ui od FTP oz. phpMyAdmin)


všeč(0) ni všeč(0) spam(0)
 
bbrez1 10. maj 2008 18:05:12 Pridružen od:
13. apr 2008
52 objav
5 0 0
#14

Našu sm edin tole kodo. A tu moram to vstaviti?


<?php

class mysql {

var $link;
var $querycount=0;
var $querylist='';

function connect($host, $username, $password, $db) {
$this->link = mysql_connect($host, $username, $password) or die("Could not connect.");
mysql_select_db($db) or die("Could not find database.");
}

function query($query) {
if (!($result = mysql_query($query))) {
ob_end_clean();
die("SQL Error: ".mysql_error()."<br />Query: $query<br />");
}

$this->querycount++;
$this->querylist.="<br />$query";
return $result;
}

function result($result, $row, $name) {
return mysql_result($result, $row, $name);
}

function numrows($result) {
$numrows = mysql_num_rows($result);
return $numrows;
}

function affectedrows() {
return mysql_affected_rows($this->link);
}


}

?>

Sicer bom v kratkem "problematično" stran preselil na drug strežnik in me zgolj informativno zanima, koliko bi mi računali (če mi samem ne bo uspelo) da bi mi to s šumniki uredili? :) (seveda dam geslo in ui od FTP oz. phpMyAdmin)




Jz ti zrihtam če hočeš... dj če maš msn mi pošl na privat :)


všeč(0) ni všeč(0) spam(0)
 
Vini 11. maj 2008 09:05:01 Pridružen od:
1. sep 2006
6612 objav
5234 611 56
#15

Roky, ne bo drzalo...



Collocation - Within the area of corpus linguistics, collocation is defined as a sequence of words or terms which co-occur more often than would be expected by chance.



Colocation - is the act of placing multiple (sometimes related) entities within a single location.



Predvidevam pa, da govoris o:

Collation is the assembly of written information into a standard order.



Nic od tega pa ni character set...


všeč(0) ni všeč(0) spam(0)
 
Roky 11. maj 2008 09:05:47 Pridružen od:
9. apr 2008
2506 objav
3240 335 107
#16

Vini, imaš prav. Tam v language lahko izbereš charset s katerim posledično izbereš še njegov default collation.


všeč(0) ni všeč(0) spam(0)
rok.meglic@gmail.com - 031 492 148
 
 

🔒 Za odgovor na to temo se moraš prijaviti.

Prijavi se