Jump to content

Twango

Members
  • Content Count

    174
  • Joined

  • Last visited

Community Reputation

2 Neutral

About Twango

  • Rank
    Member

Previous Fields

  • Languages
    HTML, JavaScript, CSS, PHP, MySQL, VB.net

Contact Methods

  • Website URL
    http://www.AppAttackNetwork.com
  • ICQ
    0

Profile Information

  • Location
    Space
  • Interests
    Programming
  1. @Birbal that doesn't help me at all. I know what I need to do, but don't know how to go about doing it.
  2. I also can't figure out how to change the source of HTML5 audio with JS. Help?
  3. @boen_robot, I know that, but I'm saying how do I get it so every listener's on the same track?
  4. Ok, so I REALLY want to make an internet radio thing. I want there to be like a MySQL table with the file names for each audio file, and PHP echos the SRC of an HTML5 Audio Tag to that file. I have NO idea how to do that.The only thing I could think, would be like a table like follows:id: SRC: length:1 audio.mp3 30 And then another table that has the current song, like follows: currentsong: SRC: timestart: length:1 audio.mp3 14:25:20 30 And then a Cron Job that runs a file like CheckUpdate.php, that basically checks to see if the time is equal to the length + timestart, and if it is, set the currentsong to the next?For the Cycling on the webpage, I know I could use Dynamic Ajax, but would this work for the cycling? Thanks.If you have any other ideas, please tell me!
  5. I didn't write this code... so what do you mean by If you don't see anything then you might need to add error checking to your mysql object. ?
  6. Hey, I need this program in the Ubuntu terminal to connect to MySQL.When I use $this->writeOutput("Connecting too MySQL database...", "INFO"); $this->mysql->connect("-----", "-----", "----"); $this->writeOutput("PAUSE"); $this->writeOutput("PAUSE"); $this->writeOutput("PAUSE"); It doesn't work, it echos "Connecting too MySQL database..." and then nothing else, it just goes back to wanting me to enter a command.Any ideas?Using XAMPP (LAMPP)
  7. This keeps generating a 504 error. while ($row = mysql_fetch_array(mysql_query("SELECT * FROM classes WHERE toclassid = '$classid'"))){echo "Yes";}The table "classes" has 8 columns, toclassid postbyuser postdate numstars reviewstructure unid isan teacherid It always gives the error: Gateway Time-outThe gateway did not receive a timely response from the upstream server or application.Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request. With that code, but when I remove it, it works fine. I can't figure out for the life of me why this isn't working. Thanks a bunch
  8. And the parent thing didn't work, when I'm using it asdocument.getElementById('parent.document.bindex').rows="*,%20";I tried changing it to CSS3... with 2 second transition on rows, still not working.It says that document.getElementById('parent.document.bindex') is null.
  9. So far I have the following, as well as a button.<script type="text/javascript" src="jquery.js"></script><script type="text/javascript">$(document).ready(function(){$(".flip").click(function(){ $("parent.document.body.rows").slideToggle("slow"); });});</script>Still not working...
  10. Twango

    Music Switcher

    Gah, I hate typos... sorry to bother you.
  11. I have a page with a frameset, let's say its frameholder.php, It has a frameset with Row1 at %100 and Row2 at %0.I want the frame at Row1 to have a button on it, that when you click it, in the parent, it slides frame 2 up to %50.I can't get this to work for the life of me. Please help!
  12. Twango

    Music Switcher

    I want to have 2 buttons (One would be better, truthfully)One that turns on song 1, the other song 2. The code I have now: <embed id="musics" src="music.swf?auid=2" width="0px" height="0px"/><script type="text/javascript">function chagemusic(){document.getElementById('musics').src="music.swf?auid=2";}function chagemusic2(){document.getElementById('musics').src="music.swf?auid=3";}</script> <input type="button" value="Song 1" onclick="changemusic()"/><input type="button" value="Song 2" onclick="changemusic2()"/> It's not the swf, that's working fine.
  13. Twango

    5 Tds Then Tr?

    I have absoloutely no Idea what you mean. can't get it to work. please help. :3
  14. I actually removed it, I think I added var scdn=Math.floor(Math.random()*1000);if (scdn == 250){var specleaf = new Image();specleafe.src="SpeacLeaf.gif";rndPic=specleaf;}
×
×
  • Create New...