Jump to content

cheetahes

Members
  • Posts

    7
  • Joined

  • Last visited

About cheetahes

  • Birthday 02/16/1990

Profile Information

  • Gender
    Female
  • Location
    Sweden

cheetahes's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. It isn't in there. Hm. Oh okay, so I must be active to post my actual information on here rather than old and wrong information? I don't see how that makes sense, thanks none the less.
  2. Hello, First of all I hope this is the right place to ask. How do I change my contact information on this website? It currently shows my MSN and website, but I don't have any of those anymore, so I'd like to remove them or maybe replace them with my new information. I'd also like to change my country too, since I live in Sweden now. Could someone please tell me how to do this? I couldn't find it under "My settings". Thanks in advance!
  3. Hmm, Unfortunately, that didn't seem to change anything. I've contacted my server-thing. It seems like they've just changed host. Maybe they can fix it with some config thing. If not. Then I'll come back here for more help!(:
  4. Hello, On my site, I use a lot of $_GET[''] - It has worked fine for months. But now suddenly, every time a "%" appears in the get line, ex: ?tvshow=[kanal4]_danmarks_n%E6ste_topmodel (really means ?tvshow=[kanal4]_danmarks_næste_topmodel) - And when that happens, I get a "406 Not Acceptable" error. I'm not sure why, since this has never happened to me before. Not Acceptable An appropriate representation of the requested resource /tv_shows_select_season.php could not be found on this server. Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request. Anyone know how I can fix this? Thanks in advance! (:
  5. Thanks. It seems to work now, except that families are sorted a bit weird... Like reverse of alphabetical (: But I guess I'll be fine with that. Thanks so much!
  6. Thanks for the quick reply, unfortunately it didn't do exactly as I wanted. I changed my array-looping to this: echo "PHP Array Test:"; foreach ($allfamilies as $familyname => $family) { sort($family); echo "<br><br>---- " . $familyname; foreach ($family as $familymember) { echo "<br>-------- " . $familymember; } } Instead of returning family name, it returns a number/integer (0/1/2) The full return of it, is this: PHP Array Test: ---- 0 -------- Egon -------- Herman -------- Jens ---- 1 -------- John -------- Karl -------- Peter ---- 2 -------- Carlo -------- Henning -------- Jarl -------- Svend -------- William Did I do something wrong? (:
  7. Okay, so. I'm kinda new to PHP, and thought I'd do a little array thing. It contains three (3) family names, and in the family, it contains some family members. I then want to output it like this: ---- Family Name 1 -------- Members of the family ---- Family Name 2 -------- Members of the family The full code that I use is this: [syntax=php]<html> <body> <?php $allfamilies = array ( "Jensen"=>array ( "Jarl", "Carlo", "Svend", "William", "Henning" ), "Knudsen"=>array ( "Karl", "John", "Peter" ), "Poulsen"=>array ( "Herman", "Egon", "Jens" ) ); sort($allfamilies); echo "PHP Array Test:"; foreach ($allfamilies as $family) { sort($family); echo "<br><br>---- " . $family; foreach ($family as $familymember) { echo "<br>-------- " . $familymember; } } ?> </body> </html> [/syntax] It outputs like this: PHP Array Test: ---- Array -------- Egon -------- Herman -------- Jens ---- Array -------- John -------- Karl -------- Peter ---- Array -------- Carlo -------- Henning -------- Jarl -------- Svend -------- William But it *should* (is supposed to) return like this: PHP Array Test: ---- Poulsen -------- Egon -------- Herman -------- Jens ---- Knudsen -------- John -------- Karl -------- Peter ---- Jensen -------- Carlo -------- Henning -------- Jarl -------- Svend -------- William So could anyone please help me make it output "---- Family Name" instead of "---- Array"? Thanks in advance! (:
×
×
  • 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.