Projektuję aplikację sieciową opartą na AJAXIE , php i bazie mySQL.
Poprzez ajax'a otwieram sobie stronkę w php która pobiera dane z bzy mySQL.
Probowałem zmieniac na rózne sposoby kodowanie ale nic z tego.
Uzywam kodu AJAXA:
Kod
//document.getElementById(target).innerHTML = 'Pobieram dane, prosze poczekac...';
if (window.XMLHttpRequest) {
req = new XMLHttpRequest();
} else if (window.ActiveXObject) {
req = new ActiveXObject("Microsoft.XMLHTTP");
}
if (req != undefined) {
req.onreadystatechange = function() {ahahDone(url, target);};
req.open("GET", url, true);
req.send("");
}
if (window.XMLHttpRequest) {
req = new XMLHttpRequest();
} else if (window.ActiveXObject) {
req = new ActiveXObject("Microsoft.XMLHTTP");
}
if (req != undefined) {
req.onreadystatechange = function() {ahahDone(url, target);};
req.open("GET", url, true);
req.send("");
}
Np. przy tekscie Poznań napisan jest Pozna?
----------
Prosze pamietac o BBCode
--
dr_bonzo