Math Object - Properties || JavaScript Tutorial for Beginners - 62

preview_player
Показать описание
❤️ Thanks for supporting KhanamCoding!

❤️Source Code:

❤️Udemy Premium Courses:
🎓Enroll in courses with premium learning experience & support KhanamCoding!😃

❤️SOCIAL MEDIA
Рекомендации по теме
Комментарии
Автор

Hello 🤗
Please solution the question ❓ by PHP programming language ❤

2. suppose that you have the following form
<form action="action.php" method="post">

<label>item:</label><br/>
<input type="text" name="item_name" value="Mouse Microsoft" />
<br/><br/>

<label>price:</label><br/>
<input type="text" name="item_price" value="20" />
<br/><br/>

<label>type:</label><br/>
<input type="radio" name="item_type" value="1" checked="checked" /><label>wireless</label>
<input type="radio" name="item_type" value="2" /><label>with wire</label>
<br/><br/>

<label>color:</label><br/>
<select name="item_color">
<option value="">Choose</option>
<option value="10"
<option value="20">Information Blue</option>
<option value="30">Red</option>
<option value="40">Green</option>
</select>
<br/><br/>

<input type="checkbox" name="is_available" checked="checked" />
<label>available:</label>
<br/><br/>

<input type="submit" name="send-btn" value="Send" />

</form>

Now print out the following item card in action.php

ITEM CARD
Name: Mouse Microsoft
Price: 20 NIS
Type: wireless
Color: Black
Available? Yes


Note that is required:
- To echo Type use short if
- To echo Color use switch
- To echo Available use short if

Nicola_Tesla