Psst.. new poll here.
Psst.. new forums here.
Microsoft is blocking us again (TY IP Reputation!) so just use oauth login instead. :)
Paste
Pasted as Ruby by venom ( 15 years ago )
$KCODE ="U"
require 'shoes'
require 'mysql'
Shoes.app do
#require 'mysql'
m=Mysql.new("localhost","root","pass","testo")
r=m.query("SELECT * FROM Client")
r.each_hash do |f|
iter = client_model.append
iter[0] = f['idClient']
# iter[1] = f['Fio']
# iter[2] = f['Address']
# iter[3] = f['Telephone']
end
s=iter[0]
edit_box :width => 100, :height => 100
inscritions(s)
end
Revise this Paste