Search found 11 matches

by malin
Fri Feb 06, 2015 7:46 pm
Forum: Databases
Topic: php mysql help
Replies: 5
Views: 5241

Re: php mysql help

hi, got it figured out.. it was quite straight forward though. here is the code that worked on mouseUp put urlEncode(fld "uname") into tName put urlencode(fld "pword") into tWord put ("myusername=" & tName & "&mypassword=" & tWord) into leMessage post leMessage to URL "http://jaasnetworks.se/checklo...
by malin
Tue Feb 03, 2015 9:23 pm
Forum: Databases
Topic: php mysql help
Replies: 5
Views: 5241

Re: php mysql help

Thanks Axwald,

Been fighting with it since. But would reply this tread if I have any luck.

Thanks for helping out :)
by malin
Tue Feb 03, 2015 12:34 am
Forum: Databases
Topic: php mysql help
Replies: 5
Views: 5241

Re: php mysql help

hello,

thank you for your reply, i have provided the host name and other info for connection.
i tried without the double space but still the same.
can you kindly give an example of your you would have script on livecode (for my educational purpose)

thanks
by malin
Wed Jan 28, 2015 8:39 pm
Forum: Databases
Topic: php mysql help
Replies: 5
Views: 5241

php mysql help

Hi all, I have been playing around with php webservice for livecode, but need some help/explation as i am stuck. I want t try the login but i guess its something wrong with my code. php code***** // make connection to database mysql_connect($hostName, $userName, $password) or die("Unable to connect ...
by malin
Tue Jan 20, 2015 7:18 am
Forum: Databases
Topic: Global variables
Replies: 2
Views: 3216

Re: Global variables

Hi Klaus,

Tack :)

I figured it out and fixed. Just my mistake.

/Malin
by malin
Mon Jan 19, 2015 11:46 am
Forum: Databases
Topic: Global variables
Replies: 2
Views: 3216

Global variables

Dear livecoder, I do have a problem with global variables. I use this global variable to pass an information from db to each page on my mobile app. It does not update when the app is updated on the iphone emulator, but works well on livecode it self. Pls does anybody know what the problem could be? ...
by malin
Mon Jan 12, 2015 10:11 pm
Forum: Databases
Topic: connecting to mySQL
Replies: 10
Views: 8509

Re: connecting to mySQL

@ Sefro and Simon.

Thanks a lot.

kind regards
by malin
Mon Jan 12, 2015 4:20 pm
Forum: Databases
Topic: connecting to mySQL
Replies: 10
Views: 8509

Re: connecting to mySQL

Hello again Well am trying to understand it, but the lesson livecode has on it is not enough to dabble into it. I am going thru lessons on udemy to see if I can find something suitable, but it's tough since even if I know it, there seems to be no lessons regarding implementing it with on livecode. H...
by malin
Mon Jan 12, 2015 3:54 pm
Forum: Databases
Topic: connecting to mySQL
Replies: 10
Views: 8509

Re: connecting to mySQL

Thanks for your reply. I am reading the lesson you sent me :) One last question, as I apologize if am kind of an headache :mrgreen: If I use livecode server with the normal DB connection lesson from livecode, is there a way to safe guard my user info... Username, password, host address... Since my f...
by malin
Sun Jan 11, 2015 7:13 pm
Forum: Databases
Topic: connecting to mySQL
Replies: 10
Views: 8509

Re: connecting to mySQL

Hi Klaus, Thank you for your reply. My main concern is that it is not possible/advisable to connect to database on godaddy directly like tought on the lessons sold by livecode. But the lessons have been so helpful and educative that i can easily query test tables. My question: 1. if i use webservice...
by malin
Fri Jan 09, 2015 10:55 pm
Forum: Databases
Topic: connecting to mySQL
Replies: 10
Views: 8509

connecting to mySQL

on mouseUp global gConnectionID put "xxxxx" into tDatabaseAddress put "xxxxxx" into tDatabaseName put "xxxxx" into tDatabaseUser put "xxxxx " into tDatabasePassword -- connect to the database put revOpenDatabase("MySQL", tDatabaseAddress, tDatabaseName, tDatabaseUser, tDatabasePassword) into tResult...