The following warnings occurred:
Warning [2] Use of undefined constant SAPI_NAME - assumed 'SAPI_NAME' (this will throw an Error in a future version of PHP) - Line: 3388 - File: inc/functions.php PHP 7.4.33-nmm7 (Linux)
File Line Function
/inc/functions.php 3388 errorHandler->error
/showthread.php 116 build_archive_link
Warning [2] Use of undefined constant IN_ARCHIVE - assumed 'IN_ARCHIVE' (this will throw an Error in a future version of PHP) - Line: 3331 - File: inc/functions.php PHP 7.4.33-nmm7 (Linux)
File Line Function
/inc/functions.php 3331 errorHandler->error
/inc/functions.php 3324 build_forum_breadcrumb
/showthread.php 195 build_forum_breadcrumb
Warning [2] Use of undefined constant IN_ARCHIVE - assumed 'IN_ARCHIVE' (this will throw an Error in a future version of PHP) - Line: 3331 - File: inc/functions.php PHP 7.4.33-nmm7 (Linux)
File Line Function
/inc/functions.php 3331 errorHandler->error
/showthread.php 195 build_forum_breadcrumb






Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
mySQL problem - db.row
Author Message
Eledrianek
Apprentice
*

Posts: 21
Likes Given: 0
Likes Received: 0 in 0 posts
Joined: Aug 2014
Reputation: 0



Post: #3
RE: mySQL problem - db.row
This is the screen of my table kelevar_quests_stats. MySQL access and reading column just one by one (im able to access to the data from "ID_questu" "prijato" etc but not all in one QUERY.

Is there a way how sphere could read whole this table and use its informations in the script?

Or I must use scp like this, with multiple QUERIES:
Code:
//DB.QUERY "SELECT prijato FROM kelevar_quests_stats WHERE ID='<dlocal._for>'"
        //local.prijato=<db.row.0>
        //DB.QUERY "SELECT splneno FROM kelevar_quests_stats WHERE ID='<dlocal._for>'"
        //local.splneno=<db.row.0>
        //DB.QUERY "SELECT preruseno FROM kelevar_quests_stats WHERE ID='<dlocal._for>'"
        //local.preruseno=<db.row.0>
        //DB.QUERY "SELECT ID_questu FROM kelevar_quests_stats WHERE ID='<dlocal._for>'"

[Image: L9Y0f.jpg]
09-11-2014 09:00 PM
Find all posts by this user Like Post Quote this message in a reply
Post Reply 


Messages In This Thread
mySQL problem - db.row - Eledrianek - 09-11-2014, 12:57 PM
RE: mySQL problem - db.row - Extreme - 09-11-2014, 02:36 PM
RE: mySQL problem - db.row - Eledrianek - 09-11-2014 09:00 PM
RE: mySQL problem - db.row - Eledrianek - 09-12-2014, 12:19 AM
RE: mySQL problem - db.row - Extreme - 09-12-2014, 12:53 AM

Forum Jump:


User(s) browsing this thread: 1 Guest(s)