how to change the value of a button?

for example "Add" then change to "Edit"?

tnx.

how to change the value of a button?

for example "Add" then change to "Edit"?

tnx.

u just send an action and check the condition like

if($_REQUEST=='Add'){<input type="button" value="Add">}
else if($_REQUEST=='Edit') { <input type="button" value="Edit"> }

all the best

thank you so much.!:)

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.