I am making a PHP thing and have the following if statements:
My SQL i have is this:
and i have this code in the PHPCode:CREATE TABLE `jos_mochat` (
`id` int(11) NOT NULL auto_increment,
`name` varchar(100) NOT NULL default '',
`url` text,
`height` varchar(50) NOT NULL default '',
`width` varchar(50) NOT NULL default '',
`auto` int(11) default '0',
`frame` int(11) default '0',
`wlink` int(11) default '0',
`showname` int(11) default '0',
`scroll` text NOT NULL,
PRIMARY KEY (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1 AUTO_INCREMENT=10 ;
When this IF statement is excecuted, i need the page to retrieve 'name' from the MySQL and list them. But I also need it to retrieve the 'url' and make the page a link like this :PHP Code:if ((@$_GET['wrap'] == "") && (@$_GET['page'] == "")) {
<a href="chat.muslimonline.org/schat/'url'>'name'</a>
I tried echo statements but messed it up. So can anyone help me?
