Jump to content

BlueM

Members
  • Posts

    17
  • Joined

  • Last visited

Everything posted by BlueM

  1. I understand the security risks but the script is somewhat protected. That kind of data can not be stored in the database
  2. This is the original output for the php code [ {"id":"1","name":"Rae Sremmurd"}, {"id":"2","name":"Tyga"}, {"id":"3","name":"Luke Christopher"}, {"id":"4","name":"Tink"}, {"id":"5","name":"Lil Herb"}, {"id":"6","name":"Lil Durk"}, {"id":"7","name":"Mac Miller"}, {"id":"8","name":"Kidd Kidd"}, {"id":"9","name":"Sage The Gemini"}, {"id":"10","name":"Blac Youngsta"}, {"id":"11","name":"John River"}, {"id":"12","name":"Migos"}, {"id":"13","name":"Danny Seth"}, {"id":"14","name":"Soulja Boy"}, {"id":"15","name":"Dave East"}, {"id":"16","name":"King Los"}, {"id":"17","name":"Wiz Khalifa"}, {"id":"18","name":"Lil Bibby"}, ]
  3. not sure if I am using it right but now its escaping all the special characters but i need them in order to have the script run correctly.
  4. Thanks for your input benanamen but i'm looking for a solution for the while loop not a solution for connecting to and pulling the data from the database. The script works without the last comma being echoed out.
  5. I have a php script that generates a javascript code. [ <?php $conn=@mysql_connect("localhost","root",""); $select=mysql_select_db("dripp",$conn); $lalala=mysql_query("SELECT * FROM typo"); while ($display=mysql_fetch_assoc($lalala)){ $one='{"id":"'; $display['id']; $two='","name":"'; $display['name']; $three='"},'; echo $all=$one.$display['id'].$two.$display['name'].$three; ?> <?php } ?> ] The problem with this code is that it in the output the final comma is messing with the script. I've searched everywhere for a solution but I can not find a way to remove the last comma without removing them all. Please help
  6. Hey guys, I am looking for someone who can design an audio player that can also play a playlist for a website. The player I am looking for needs certain details. 1) Needs to hide src of file 2) Needs to have controls including attractive progress bar 3) Needs to read from mysql database. I am a bit of a programmer myself so I will be tweaking it but the skeleton must be there. Obviously willing to pay for your time please contact back.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.