djmartins Posted December 13, 2005 Report Share Posted December 13, 2005 Kaa var izvadit datus kas atrodas db ar wml palidzibu? Link to comment Share on other sites More sharing options...
v3rb0 Posted December 13, 2005 Report Share Posted December 13, 2005 tāpat kā jebkurā citā formātā: 1. konektējam db 2. dabūjam datus no db 3. ģenerējam wml Link to comment Share on other sites More sharing options...
djmartins Posted December 13, 2005 Author Report Share Posted December 13, 2005 Saadi? <wml> $host == "localhost"; $port == "3306"; $user == "dundurs"; $pass == "zebiekste"; $database == "news"; $db = mysql_connect("$host:$port", "$user", "$pass"); $result = mysql_query("SELECT * FROM news;", $db); while ($res = mysql_fetch_array($result)) { print("res2"); </wml> Link to comment Share on other sites More sharing options...
bubu Posted December 13, 2005 Report Share Posted December 13, 2005 Domā tak ar galvu! Tu html arī šādi izvadi? <html> mysql_connect(..); ... </html> Link to comment Share on other sites More sharing options...
djmartins Posted December 13, 2005 Author Report Share Posted December 13, 2005 tad man wml atdalit no php? Link to comment Share on other sites More sharing options...
rpr Posted December 13, 2005 Report Share Posted December 13, 2005 martinj, varbuut, panjem kaadu gatavu produktu un papeeti kaa tiek rakstiitas lapas. Link to comment Share on other sites More sharing options...
Vebers Posted December 13, 2005 Report Share Posted December 13, 2005 http://www.w3schools.com/wap/default.asp Link to comment Share on other sites More sharing options...
php_Stopp Posted December 14, 2005 Report Share Posted December 14, 2005 WML - Wireless Markup language.. (ja nemaldos :P) wml ar php ir tikpat liels sakars, cik php ar html.. Link to comment Share on other sites More sharing options...
Recommended Posts