Jump to content

coolcam262

Members
  • Posts

    37
  • Joined

  • Last visited

    Never

Profile Information

  • Gender
    Not Telling

coolcam262's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. I think the best way to do this would be to use rowspan. Just do: $rowspan = ceil($length / $mins_per_row); // where ceil is rounding it up then in the cell of the table of the appartment just do <td rowspan='" . $rowspan . "'>
  2. You almost had it but instead it is: if (mysql_num_rows($sql) > 0){ // Process hamsters }else{ echo 'There are no hamsters in the field! Feel free to let the cat out.'; } mysql_num_rows() uses the result of the sql. You were just using $term which was the result of a post.
  3. Like what is said in the above post you shouldn't ever store a users password in a text format. You should at least md5 encrypt it and then if a user forgets their password either allow them to enter their username and email and give them a new, randomly generated password or make them choose a new one when emailed a specific link. Then just update the database with the md5ed new password.
  4. Well basically youtube tries to make it as easy as possible to allow you to do what you're doing. They create an xml file that tells you information about your latest videos. For example this is the xml of my channel: http://gdata.youtube.com/feeds/api/users/coolcam262/uploads It shows the latest videos I have created. To find yours just use the url http://gdata.youtube.com/feeds/api/users/username/uploads You can then look through it and you will find your videos. Of course you don't want to just display all this text, you want it to look nice! To do that you need to parse the xml to php. There's loads of premade functions for us to use but basically all they do is take the xml file and turn it into arrays! For example it might look something like: $youtube['videos']['1']['desc'] and this might show the very first video you made's description. One function that has been made is called xml2php that converts... xml to php! All you need to do is include the xml2php.php file in your code. Google how to use and download the function, it's really simple. I hope I helped!
  5. Hi, I don't think you want to actually upload the files, you just want to get the youtube videos and display them. It's not that difficult but you will need to use an xml file to get the youtube information. I think this tutorial is what you want: It's not the one I used before I don't think but it's made by the same person so it should be alright.
  6. I have tried to install myBB but it is exactly the same, it logs me out seconds after logging in! Why would this be?
  7. I've got other people to test it in firefox, chrome and ie and it doesn't work on any of them. Why does it work on yours and noone elses?!
  8. bump- I just need someone else to test the login at projectstratos.com/forum as all the computers I have tried it on it doesn't work! PLEASE! :'(
  9. That's strangee, I'm using firefox 3.6 but on windows 7, I doubt it would make a difference so could someone else try? Oh and before you ask I have deleted my cache! This problem has been persistant for over a week now.
  10. Okay but what browser are you using, I have tried this both in firefox and ie on three seperate computers, one of them is not even connected to the same network! Is there anything I could try? And just to confirm, you are using the phpbb3 login page and not my sites?
  11. Well, could try waiting 10 seconds as this is not the problem, I have tried it on different computers. The problem is that it doesn't stay logged in, no matter what the url is, you can log into the forum and go to another part of the site or even just refresh the page and you are still logged out. Thanks, Cameron
  12. When you log in you are immediately, if not then after a few seconds, logged out!
  13. You can now, don't worry about the intergration, I'll fix that later. Username: test password: testing4 Thanks, Cameron
×
×
  • 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.