php echo default value if not from database

<?php
echo $sedan ? $sedan:'800'
 ?>

Comments

Popular posts from this blog

Script For Login, Logout and View Using PHP, MySQL and Bootstrap

Hyperledger Development with in 10 days — Day 6

Real-Time Web Interface to MQTT using Socket.io and Node.js