<html>
<head>
<script>
function change(x)
{
var str=x;
<?php $name=?>str;
}
</script>
<?php echo $name;
</head>
<body>
<form>
<select name="customers" onchange=change('this.value')>
<option>Varma</option>
<option>Phani Varma</option>
<option>Prabhas Varma</option>
<option>Kishore Varma</option>
</select>
</form>
</body>
</html>
so when ever user change the select,the value should be passed to php & it must be echoed by php.Lots of thanks To all
Venter
-2
Light Poster
Recommended Answers
Jump to Posthai Venter,
can you explain me a little bit more about whats your actual requirement is?
i am getting little bit confustion about your requirement.
so i have modified your code what i understood from the post which is given below
have a look at once. after changing the valus …
All 2 Replies
Reply to this topic
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.