How to show online users in PHP?

Php/javascript or other language experts out there.?

  • I'm in the process of creating a filtered register page where users can choose what type of account they want (example : basic account or full account) which would show something like: <select name="utype"> <option select value"<?php echo $value['user_type'];?>"> <?php echo $value['ul_desc'];?></option> <?php } ?> </select> Ok so what I want to happen is whenever a user chooses among the given options on the list, a registration form will appear (note: I want the registration form to appear only after an option has been chosen) and I want the registration form to be different from each other whenever another option is chosen. So is it possible to make an "input type="text"" and an "input type="submit"" hidden only until an option is selected on the <select> list? If so, can you post any tutorial links here, I'd be very thankful to those who can!

  • Answer:

    You would need Javascript to make it happen as soon as they click on an option in the select list. What you can do is have onChange="myFunction(value)" on the <select> and have Javascript show/hide the rest of the form depending on the value. This can all be done with basic Javascript, but if you're interested in more advanced animation, jQuery would be great for this as well.

Saint Anger at Yahoo! Answers Visit the source

Was this solution helpful to you?

Other answers

ya it is possible to load a page in particular section of Web page by using include() function in php you should use this Function inside the <TR><TD></TD></TR>;

Bijay r

Related Q & A:

Just Added Q & A:

Find solution

For every problem there is a solution! Proved by Solucija.

  • Got an issue and looking for advice?

  • Ask Solucija to search every corner of the Web for help.

  • Get workable solutions and helpful tips in a moment.

Just ask Solucija about an issue you face and immediately get a list of ready solutions, answers and tips from other Internet users. We always provide the most suitable and complete answer to your question at the top, along with a few good alternatives below.