Toggle navigation
Dashboard
Dashboard Tracker
Add / Edit My Forums
System Announcements
Discussion
Active Thread Feed
Top Threads Today
Top Threads This Week
Top Threads Library
Go!
View All
View All
Login
Logout
Home
Forums Index
Server Side
/
PHP Server Side Scripting
4:22 pm Jun 25, 2026
This page requires javascript.
Forum Moderators:
coopster
Message Too Old, No Replies
Button
in php
ale3is
Msg#:4092414
12:06 am on Mar 6, 2010
(gmt 0)
i need to make a webpage which will have some buttons. once a user presses one button, i need its value to be saved in a variable.
how can i do this?
rocknbil
Msg#:4092429
12:21 am on Mar 6, 2010
(gmt 0)
Welcome aboard ale3is, name it.
<input type="submit" name="submit_button_one" value="submit">
$_POST/$_GET (depending on your method) will have the key submit_button_one with a value of 'submit'.
Join The Conversation
Register
For Free! -
Become a
Pro Member
!
See forum categories
-
Enter the Forum
Moderators and Top Contributors
Moderator List
| Top Contributors:
This Week
,
This Month
,
May
,
Apr
,
Archive
,
Top 100 All Time
,
Top Voted Members
Hot Threads This Week
June 2026 Google Search Observations
AdSense Earnings and Observations - June 2026
Quite quiet in here, anyone know why?
Best Learning Path for a Web Development Beginner?
Buying traffic to appear on Google Discover
Home
Forums Index
Server Side
/
PHP Server Side Scripting
4:22 pm Jun 25, 2026