i want to expand my scripting skills with storing data outside sl. now with minor expertise on php i want to ask for help by posting a little example i could start building of. i learn pretty fast as long as i have a working example
lolthis is the basic i want to know how to do.
send a parameter to an external php file
this would be one of the following commands
add
remove
count (search?)
ok lets say i ask for adding something what line do i need to send an llHTTPRequest that send data with it like "action=add" and "object=item1" to the php page called "example.php" creatin an output saying that its passed or failed in sl.
same for remove, and a number for the count action.
then what is the php code going to look like? thats my main problem.
so how do i add something to a table (lets say by exmaple the table name is myobjects and the fieldname is objectname) in mysql using php, remove a line in a table in mysql, and count how many time a line repeats itself in a table in mysql? and outputting the info back to sl?
i dont know if the 3 routines are big as most of the examples i find on the net dont really work for me and yes my host has the latest php, mysql installed
i think i miss something in the coding but as i said i just want to start with php so i hope IF these 3 routines are not to big i could see trough the basics of PHP/MySQL programming in combination with LSL.Thank you in advance.
Tlw