[b]S.a. arkadaşlar,[/b]
[b]
[/b]
[b]OnStartup'a;[/b][code]MySQLConnection, err = MySQL:connect("www.siteismi.net", "kullanıcıadı", "şifre", "https://m5085.canohosting.com",port);
if not MySQLConnectionn and err then
Dialog.Message("Hata", "Veritabanı ile bağlantı kurulamadı!", MB_OK, MB_ICONSTOP);end[/code]
[b]Page OnShow'a;[/b]
[code]
MySQLCursor, id = MySQLConnection:execute("SELECT haber_id FROM haber");
MySQLCursor, baslik = MySQLConnection:execute("SELECT haber_baslik FROM haber");
MySQLCursor, kategori = MySQLConnection:execute("SELECT haber_kategori FROM haber");
MySQLCursor, detay = MySQLConnection:execute("SELECT haber_detay FROM haber");
MySQLCursor, resim = MySQLConnection:execute("SELECT haber_resim FROM haber");
MySQLCursor, tarih = MySQLConnection:execute("SELECT haber_tarih FROM haber");
Label.SetText("baslik", baslik);
Label.SetText("kategori", kategori);
Paragraph.SetText("detay", detay);
Image.Load("resim", "http://www.siteismi.net/foto/"..id);
Paragraph.SetText("tarih", tarih);[/code]
[b]yazdım. Fakat veritabanına bağlanılamadı dialoğunu gösteriyor. Acaba yerlerini mi karıştırdım? Doğrusu nedir?[/b]