User Profile

Collapse

Profile Sidebar

Collapse
fatroshi
fatroshi
Last Activity: Mar 31 '10, 12:59 PM
Joined: Dec 11 '09
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • fatroshi
    started a topic Drop down menu, load page on selected option
    in Java

    Drop down menu, load page on selected option

    Hi,

    I´m trying to create a simple application with a drop menu.
    The drop menu should load a page inside the same page.
    Same as the php inlude("path") function.

    I´ve find one way to create this, but it´s only working in firefox!
    PLEASE help me out if you have few minutes.

    If you have a better way please do tell! =)

    Tanks!

    Code:
    <script type="text/javascript">
    ...
    See more | Go to post

  • fatroshi
    replied to Basic Python Validation
    Works great for me 2 :)
    See more | Go to post

    Leave a comment:


  • fatroshi
    replied to Wampserver 2.0 and php
    in PHP
    Aha ok, thanks for the explanation. And for all the help.
    See more | Go to post

    Leave a comment:


  • fatroshi
    replied to Wampserver 2.0 and php
    in PHP
    YEEEEEEEEEES!!! !

    Now it works, I used <?php instead of <?, But thats strange I used that in my first post, but it didn´t work. Well now it does thanks to Kovik and Markus. =))
    See more | Go to post

    Leave a comment:


  • fatroshi
    replied to Wampserver 2.0 and php
    in PHP
    Tried that 2 doesnt work. :/
    Programming can´t be this hard lol

    meybe it´s something wrong with wampserver.. dont know..
    See more | Go to post

    Leave a comment:


  • fatroshi
    replied to Wampserver 2.0 and php
    in PHP
    I dont know why it doesn´t work, I use this script for the html and php file:

    Code:
    <body>
    <?php
    echo $_POST['name']
    ?>
    
    <form action="#" method="post">
    <input name="name" type="text" value="name">
    <input name="" type="submit" value="search">
    </form>
    
    </body>
    ...
    See more | Go to post
    Last edited by Dormilich; Dec 11 '09, 06:22 AM. Reason: fixed [code] tags

    Leave a comment:


  • fatroshi
    replied to Wampserver 2.0 and php
    in PHP
    yes it does, it (action = "#") but not when send it to another page.
    But I can live with that for now I guess.

    thanks a lot =D
    See more | Go to post

    Leave a comment:


  • fatroshi
    replied to Wampserver 2.0 and php
    in PHP
    ok sorry, didn´t understand that. This is very new for me =p

    I tried that out and got this message in the browser when I typed hello;
    Array ( [name] => hello )
    See more | Go to post

    Leave a comment:


  • fatroshi
    replied to Wampserver 2.0 and php
    in PHP
    Ok, I see. But script is right for both php and html right?
    So what is the problem then, what have i done wrong?

    As I said before when i just "echo" something it does show up..
    But of course I understand it´s difficult for you to point the problem out with the information provided by me.

    Thanks anywaym, please let me know if you get an new idea =)
    See more | Go to post

    Leave a comment:


  • fatroshi
    replied to Wampserver 2.0 and php
    in PHP
    No, nothing.

    I tried this:

    Code:
    <?
    if (!empty($_POST)) { // A form has been submitted
         if (!empty($_POST['name'])) {
          echo $_POST['name'];
        }
     }
    
    print_r($_POST);
    ?>
    See more | Go to post
    Last edited by Dormilich; Dec 11 '09, 05:12 AM. Reason: fixed [code] tags

    Leave a comment:


  • fatroshi
    replied to Wampserver 2.0 and php
    in PHP
    Thanks for the help kovik =)

    Now there are no errors, but the browser page is emty! It doesn´t show anything...don´ t know why!
    See more | Go to post

    Leave a comment:


  • fatroshi
    started a topic Wampserver 2.0 and php
    in PHP

    Wampserver 2.0 and php

    Hi,
    I´ve just started using php, and i´m trying to make it work with wampserver!
    I´m using wamperver 2 , PHP 5.30
    on windows 7


    I have installed wampserver correctly and the localhost seems to work.
    When i try this script:

    <?php echo "something" ?>
    It works!

    But when I try to send information from a html file to php file, the varibel doesn't go throw....
    See more | Go to post
    Last edited by Dormilich; Dec 11 '09, 05:10 AM. Reason: fixed [code] tags
No activity results to display
Show More
Working...