http://php.flashwebhost.com/vineesh/..._6_array_1.php
PHP Code:
<?php
$domainName = array();
$domainName[extension] = '.com';
$domainName[registry] = 'public domain registry';
$domainName[price] = '$10.50 per year';
$domainName[status] = 'congratulations!, its available!!!';
$registrar = '<a href="http://www.FlashWebHost.com">www.flashwebhost.com</a> <br><br>';
echo '<pre>';
print_r($domainName);
echo '</pre>';
echo '<h1><font color=red><i>Domain Name Info: </i></h1></font>';
echo '<b><font color=green>Extension: </b></font>' . strtoupper($domainName[extension]) . '<br>';
echo '<b><font color=blue>Registry: </b></font>'. ucwords($domainName[registry]) . '<br>';
echo '<b><font color=magenta>Current Status: </b></font> ' . ucwords($domainName[status]) . '<br>';
echo '<b><font color=orange>Price: </b></font>' . ucwords($domainName[price]) . '<br><br>';
echo '<font color=green>' . 'This means, ' . strtoupper($domainName[extension]) . ' extension domain is providing by ' . ucwords($domainName[registry]) . ' And the cost is ' . ucwords($domainName[price]) . 'You can register domain names through ' . strtoupper($registrar) .
'</font>';
Bookmarks