subquery

Questionssubquery
Johan asked 9 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 9 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 9 years ago

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

Your Answer

2 + 1 =

Login with your Social Id:

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 0 / 5. Vote count: 0

No votes so far! Be the first to rate it.

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

Let us improve this post!

Tell us how we can improve this post?