hi
i think alot of about phpcode do show rows of one column from mysql and rows must be link when click on it show the opposite row from next column from same table under the link which click on it before.
the last of my try is show rows of column without be link .
the code do that is
/* Connecting, selecting database */
$link = mysql_connect('localhost', 'root', '')
or die('Could not connect : ' . mysql_error($link));
mysql_select_db('email', $link)
or die('Could not select database');
/* Issue SQL query */
$query = 'select url from email';
$result = mysql_query($query, $link) or die('Query failed : ' . mysql_error($link));[/b]
help me to do this code
Moderator: General Moderators
Hmm, I really couldn't understand what you're trying to ask =/
But it sounds like you're wanting to loop to show more rows?
But it sounds like you're wanting to loop to show more rows?
Code: Select all
while($array = mysql_fetch_array($result))
{
// your rows are now here
echo $array[0];
echo $array[1];
echo $array['field'];
echo $array['field2'];
}Set Search Time - A google chrome extension. When you search only results from the past year (or set time period) are displayed. Helps tremendously when using new technologies to avoid outdated results.