• Saturday , 20 October 2018

Second Life Scripting Tutorial- Insert & Delete Data to MySQL Database

Code Canyon



Here we see how we can use LSL to communicate with our PHP scripts to add and remove information in our MySQL database. Please hit the THUMBS UP, Comment, Rate & Subscribe! Visit my Second…

Original source

3d Ocean

Related Posts

7 Comments

  1. Jon-Marc Davidow
    May 30, 2018 at 05:39

    I have a problem, when I click insert it creates the entry on MySQL but it's just a duplicate entry.

  2. Adriana Rodriguez
    May 30, 2018 at 05:39

    hi do u know how to delete second life it is taking to much storage

  3. Phoenix Gamer
    May 30, 2018 at 05:39

    Hi Mitzpatrick, your tuts have helped me a great deal, my question to you is this, how would you set the values of LSL variables with data retrieved from database fields? ie: tbl1.field1 & tbl1.field2 > PHP > LSL $var1 = field1 & $var2 = field2 that could be used else where within the script using just $var1 & $var2? thanks 🙂

  4. Fred Flintstone
    May 30, 2018 at 05:39

    Thank you for the great tutorial.
    While it's true that with many online hosting services you won't get access to the shell for running things like Mysql scripts for creating tables, you can however use a PHP script instead. I'm using 000webhost which has the same limitations and a PHP script works great. As you discussed though, a person needs to remove the script when finished, or write the script in such a way to avoid data loss.
    Thanks again for sharing your knowledge. It was a great help for getting up and running accessing RDMS from LSL.

  5. YOYO Crescendo
    May 30, 2018 at 05:39

    Tank you so much, this has been a lot of help for me.

  6. Kaleb Scott
    May 30, 2018 at 05:39

    Great tutorial. I have come closer after watching your tutorials. I have a slight problem though. lol When i click to insert it creates the entry on the mysql side but the fields have no data. 

  7. Shadoskill Heckroth
    May 30, 2018 at 05:39

    Hey thanks for this tutorial, it gave me a good starting point for a few things I wanna try!

Leave A Comment

You must be logged in to post a comment.