$sql = "SELECT * FROM users WHERE user = 'foo'";
$data = mysql_query($sql,$povezava) or die(mysql_error() );
while ($row_data = mysql_fetch_assoc($data) )
{
    print "$row_data['nick']";
    print "$row_data['text']";
}

"Jeroen Wasteels" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> I still can't see what exactly I'm supposed to do... could someone please
> write me a little piece of code that enters colomn soandso row soandso and
> then stores what's there in a variable that's ready to print or so? I
copied
> the example from php.net, changing of course names of databases and
tables,
> but I got nothing.

-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to