subquery

Questionssubquery
Johan asked 4 years ago

Hi
I'm trying to display information using a subquery but that does that no information is displayed.

$grid->select_command = "SELECT butikspris from omsWeb as pris";

$grid->table = "omsWeb";

$col = array();
$col["title"] = "Artikelkod";
$col["name"] = "productCode";
$col["editable"] = true;
$cols[] = $col;

$col = array();
$col["title"] = "Märke";
$col["name"] = "brand";
$cols[] = $col;

$col = array();
$col["title"] = "Benämning";
$col["name"] = "productName";
$col["editable"] = false;
$cols[] = $col;

$col = array();
$col["title"] = "Antal Länkar";
$col["name"] = "pris";
$cols[] = $col;

2 Answers
Johan answered 4 years ago

Edit:
The query is working. It's just that it takes forever to load. Any ideas on how to fix this?

Abu Ghufran answered 4 years ago

Complete code would help in identifying issue.
You can email me or use pastebin.com

Your Answer

20 + 15 =

OR, enter

Attach code here and paste link in question.
Attach screenshot here and paste link in question.



How useful was this discussion?

Click on a star to rate it!

Average rating / 5. Vote count:

We are sorry that this post was not useful for you!

Let us improve this post!