954,561 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

Show and Hide in php

Hi to all,

please tell me any easy php code,

To 'show' and 'hide' a new form file
(may be called as "form1.php") on same current page
by click on radio buttons ?

Any suggession will be appreciated,


Thanks and Regards.

MSK 7
Newbie Poster
9 posts since Jan 2009
Reputation Points: 10
Solved Threads: 0
 

i think they showed you the best way to do it here http://www.daniweb.com/forums/thread173153.html

ProfessorPC
Posting Whiz in Training
270 posts since Dec 2007
Reputation Points: 31
Solved Threads: 29
 

MSK - that's really rude man. One guy posted a beautiful long piece of code for you (must have taken him ages) and you've just completely ignored it. Doubt anyone will help you here.

diafol
Rhod Gilbert Fan (ardav)
Moderator
7,792 posts since Oct 2006
Reputation Points: 1,170
Solved Threads: 1,080
 

Great Thanks for your support & a precious one long piece of code & effort,
I hope this will definitely going to be help me in future.
But now as i am beginner I want a short & easy code so that i can understand the concepts easily.
please send your precious suggessions regularly in future
I hope that will definitely help me in many problems.
Thanks & Regards.

MSK 7
Newbie Poster
9 posts since Jan 2009
Reputation Points: 10
Solved Threads: 0
 
mschroeder
Work Harder
Team Colleague
666 posts since Jul 2008
Reputation Points: 279
Solved Threads: 131
 

I don't think AJAX would be the best choice, instead use javascript to change the button's style.display value. If you don't know how to do this, I suggest this javascript tutorial (it covers this topic directly). It is always better to actually learn something about a language instead of just getting someone else's code.

death_oclock
Posting Whiz
393 posts since Apr 2006
Reputation Points: 129
Solved Threads: 45
 

This article has been dead for over three months

Post: Markdown Syntax: Formatting Help
You