Raised This Month: $ Target: $400
 0% 

sql-problem


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
lagbeast
Junior Member
Join Date: Jul 2007
Old 07-05-2007 , 13:16   Re: sql-problem
Reply With Quote #1

Quote:
Originally Posted by YamiKaitou View Post
PHP Code:
new nick[64];
SQL_ReadResult(Query,SQL_FieldToNum(Query,"nick"),nick,63); 
IT doesnt work. I just keep getting int-values from the db, when the values in the db are STR. What im looking for is this.

PHP Code:
$array mysql_query("SELECT * FROM login");
while(
$row mysql_fetch_array($array)) 
{
  echo  
$row[nick];

This is how it would have looked in php.
lagbeast is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 21:26.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode