Is there a (better) way to access $wpdb results? Announcing the arrival of Valued Associate #679: Cesar Manara Planned maintenance scheduled April 23, 2019 at 23:30 UTC (7:30pm US/Eastern) 2019 Moderator Election Q&A - Questionnaire 2019 Community Moderator Election ResultsRetrieving multisite blog IDs, somehow failing to foreach them properlyChecking if meta_value exists for any userwpdb inside foreach loop only returns first result - 2 other similar cases foundCustom $wpdb returns unexpected time based resultswpdb query problem to access previous 3 days postsaccess JSON results from wordpress database with wpdbIs $wpdb->prepare escaping to much? How to use it properly?How to access PostgreSQL using WPDB?wpdb query not workingWPDB delivers wrong results from complex queries

Can this water damage be explained by lack of gutters and grading issues?

Why is one lightbulb in a string illuminated?

What were wait-states, and why was it only an issue for PCs?

Suing a Police Officer Instead of the Police Department

Why isn't everyone flabbergasted about Bran's "gift"?

How is an IPA symbol that lacks a name (e.g. ɲ) called?

Is Vivien of the Wilds + Wilderness Reclamation a competitive combo?

Like totally amazing interchangeable sister outfit accessory swapping or whatever

Married in secret, can marital status in passport be changed at a later date?

How to break 信じようとしていただけかも知れない into separate parts?

Is "ein Herz wie das meine" an antiquated or colloquial use of the possesive pronoun?

Providing direct feedback to a product salesperson

2 sample t test for sample sizes - 30,000 and 150,000

Knights and Knaves question

What is the definining line between a helicopter and a drone a person can ride in?

Why not use the yoke to control yaw, as well as pitch and roll?

Proving inequality for positive definite matrix

Raising a bilingual kid. When should we introduce the majority language?

Trying to enter the Fox's den

How to create a command for the "strange m" symbol in latex?

How to mute a string and play another at the same time

What is the ongoing value of the Kanban board to the developers as opposed to management

How to leave only the following strings?

How to keep bees out of canned beverages?



Is there a (better) way to access $wpdb results?



Announcing the arrival of Valued Associate #679: Cesar Manara
Planned maintenance scheduled April 23, 2019 at 23:30 UTC (7:30pm US/Eastern)
2019 Moderator Election Q&A - Questionnaire
2019 Community Moderator Election ResultsRetrieving multisite blog IDs, somehow failing to foreach them properlyChecking if meta_value exists for any userwpdb inside foreach loop only returns first result - 2 other similar cases foundCustom $wpdb returns unexpected time based resultswpdb query problem to access previous 3 days postsaccess JSON results from wordpress database with wpdbIs $wpdb->prepare escaping to much? How to use it properly?How to access PostgreSQL using WPDB?wpdb query not workingWPDB delivers wrong results from complex queries



.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;








2















I have this:



 global $wpdb;
$wpdbp = $wpdb->prepare('SELECT EXISTS ([some query] WHERE user_id =%d);',$target_user_id);
$result = $wpdb->get_results($wpdbp);


I want to know if the query result is 1 or 0.
But a var_dump() of $result give something like:



array (size=1)
0 =>
object(stdClass)[4592]
public 'EXISTS ([some query] WHERE user_id =2)' => string '0' (length=1)


Which means I should first get element 0 of array, but then, I need to access a property which name is literally the whole query.



I yet need to test if that is even doable in php (I guess yes but I don't remember in this language precisely), and what happens if I have multiline query ...
Anyway I find that so ugly ... is there a cleaned way to get query result?
Maybe there's a way to give a name string to the query or so?




Here is what I'm trying and this isn't even working ...



$qeryAsPropertyName = substr($wpdbp,7, -strlen($wpdbp-1));
$result0 = $result[0]->$qeryAsPropertyName;









share|improve this question



















  • 1





    That might be a MySQL-generated column name. You could try SELECT EXISTS (...) AS name to give it a different name (where you can quote name in backticks).

    – Rup
    Apr 16 at 14:31












  • This worked thank you. If you write it as answer I can check it as solution.

    – TTT
    Apr 16 at 14:34

















2















I have this:



 global $wpdb;
$wpdbp = $wpdb->prepare('SELECT EXISTS ([some query] WHERE user_id =%d);',$target_user_id);
$result = $wpdb->get_results($wpdbp);


I want to know if the query result is 1 or 0.
But a var_dump() of $result give something like:



array (size=1)
0 =>
object(stdClass)[4592]
public 'EXISTS ([some query] WHERE user_id =2)' => string '0' (length=1)


Which means I should first get element 0 of array, but then, I need to access a property which name is literally the whole query.



I yet need to test if that is even doable in php (I guess yes but I don't remember in this language precisely), and what happens if I have multiline query ...
Anyway I find that so ugly ... is there a cleaned way to get query result?
Maybe there's a way to give a name string to the query or so?




Here is what I'm trying and this isn't even working ...



$qeryAsPropertyName = substr($wpdbp,7, -strlen($wpdbp-1));
$result0 = $result[0]->$qeryAsPropertyName;









share|improve this question



















  • 1





    That might be a MySQL-generated column name. You could try SELECT EXISTS (...) AS name to give it a different name (where you can quote name in backticks).

    – Rup
    Apr 16 at 14:31












  • This worked thank you. If you write it as answer I can check it as solution.

    – TTT
    Apr 16 at 14:34













2












2








2


1






I have this:



 global $wpdb;
$wpdbp = $wpdb->prepare('SELECT EXISTS ([some query] WHERE user_id =%d);',$target_user_id);
$result = $wpdb->get_results($wpdbp);


I want to know if the query result is 1 or 0.
But a var_dump() of $result give something like:



array (size=1)
0 =>
object(stdClass)[4592]
public 'EXISTS ([some query] WHERE user_id =2)' => string '0' (length=1)


Which means I should first get element 0 of array, but then, I need to access a property which name is literally the whole query.



I yet need to test if that is even doable in php (I guess yes but I don't remember in this language precisely), and what happens if I have multiline query ...
Anyway I find that so ugly ... is there a cleaned way to get query result?
Maybe there's a way to give a name string to the query or so?




Here is what I'm trying and this isn't even working ...



$qeryAsPropertyName = substr($wpdbp,7, -strlen($wpdbp-1));
$result0 = $result[0]->$qeryAsPropertyName;









share|improve this question
















I have this:



 global $wpdb;
$wpdbp = $wpdb->prepare('SELECT EXISTS ([some query] WHERE user_id =%d);',$target_user_id);
$result = $wpdb->get_results($wpdbp);


I want to know if the query result is 1 or 0.
But a var_dump() of $result give something like:



array (size=1)
0 =>
object(stdClass)[4592]
public 'EXISTS ([some query] WHERE user_id =2)' => string '0' (length=1)


Which means I should first get element 0 of array, but then, I need to access a property which name is literally the whole query.



I yet need to test if that is even doable in php (I guess yes but I don't remember in this language precisely), and what happens if I have multiline query ...
Anyway I find that so ugly ... is there a cleaned way to get query result?
Maybe there's a way to give a name string to the query or so?




Here is what I'm trying and this isn't even working ...



$qeryAsPropertyName = substr($wpdbp,7, -strlen($wpdbp-1));
$result0 = $result[0]->$qeryAsPropertyName;






wpdb sql






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Apr 16 at 14:32







TTT

















asked Apr 16 at 14:19









TTTTTT

1848




1848







  • 1





    That might be a MySQL-generated column name. You could try SELECT EXISTS (...) AS name to give it a different name (where you can quote name in backticks).

    – Rup
    Apr 16 at 14:31












  • This worked thank you. If you write it as answer I can check it as solution.

    – TTT
    Apr 16 at 14:34












  • 1





    That might be a MySQL-generated column name. You could try SELECT EXISTS (...) AS name to give it a different name (where you can quote name in backticks).

    – Rup
    Apr 16 at 14:31












  • This worked thank you. If you write it as answer I can check it as solution.

    – TTT
    Apr 16 at 14:34







1




1





That might be a MySQL-generated column name. You could try SELECT EXISTS (...) AS name to give it a different name (where you can quote name in backticks).

– Rup
Apr 16 at 14:31






That might be a MySQL-generated column name. You could try SELECT EXISTS (...) AS name to give it a different name (where you can quote name in backticks).

– Rup
Apr 16 at 14:31














This worked thank you. If you write it as answer I can check it as solution.

– TTT
Apr 16 at 14:34





This worked thank you. If you write it as answer I can check it as solution.

– TTT
Apr 16 at 14:34










2 Answers
2






active

oldest

votes


















4














This answer explains what the OP saw with column names and how to work with that, but the real answer is to use get_var() as in Howdy_McGee's answer.




The string you're seeing is the column name that MySQL is using for the result, because it doesn't have any better ideas. One way is to give it an explicit name to use instead with AS, e.g.



global $wpdb;
$wpdbp = $wpdb->prepare('SELECT EXISTS ([some query] WHERE user_id =%d) AS `exists`;',
$target_user_id);
$result = $wpdb->get_results($wpdbp);


then the column name will be exists, i.e.



$result = $result[0]['exists'];


However I'm surprised there isn't a 'execute query and return scalar' method in $wpdb that you can use instead to just fetch a single result like this. There is a better way, but I'd missed it as I was searching for terms like 'scalar', bah.






share|improve this answer
































    6














    The WPDB Class has quite a few methods which vary what will be returned.



    Using WPDB::get_results() returns an array of objects whose properties end up being what it expects to be returned. In this case may be best to alias your subquery. For example, if I wanted to check if user ID 1 exists I could say:



    $results = $wpdb->get_results( "SELECT EXISTS( SELECT ID FROM $wpdb->users WHERE ID = 1 ) AS 'exists'" );

    if( ! empty( $results ) && $results[0]->exists )
    /* ... */



    A better solution would be, if you just want one thing returned, you could use WPDB::get_var()



    $exists = $wpdb->get_var( $wpdb->prepare( "
    SELECT EXISTS ( [some query] WHERE user_id = %d )
    ", $user_id ) );

    if( $exists )
    /* ... */



    Or if you wanted the username by ID:



    $username = $wpdb->get_var( $wpdb->prepare( "
    SELECT user_login FROM $wpdb->users WHERE ID = %d
    ", $user_id ) );

    if( ! empty( $username ) )
    printf( 'User %d user name is: %s', $user_id, $username );



    That being said your best bet is to read through the documentation and look at the available methods to figure out which is best in your user case:



    https://codex.wordpress.org/Class_Reference/wpdb






    share|improve this answer























      Your Answer








      StackExchange.ready(function()
      var channelOptions =
      tags: "".split(" "),
      id: "110"
      ;
      initTagRenderer("".split(" "), "".split(" "), channelOptions);

      StackExchange.using("externalEditor", function()
      // Have to fire editor after snippets, if snippets enabled
      if (StackExchange.settings.snippets.snippetsEnabled)
      StackExchange.using("snippets", function()
      createEditor();
      );

      else
      createEditor();

      );

      function createEditor()
      StackExchange.prepareEditor(
      heartbeatType: 'answer',
      autoActivateHeartbeat: false,
      convertImagesToLinks: false,
      noModals: true,
      showLowRepImageUploadWarning: true,
      reputationToPostImages: null,
      bindNavPrevention: true,
      postfix: "",
      imageUploader:
      brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
      contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
      allowUrls: true
      ,
      onDemand: true,
      discardSelector: ".discard-answer"
      ,immediatelyShowMarkdownHelp:true
      );



      );













      draft saved

      draft discarded


















      StackExchange.ready(
      function ()
      StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fwordpress.stackexchange.com%2fquestions%2f334503%2fis-there-a-better-way-to-access-wpdb-results%23new-answer', 'question_page');

      );

      Post as a guest















      Required, but never shown

























      2 Answers
      2






      active

      oldest

      votes








      2 Answers
      2






      active

      oldest

      votes









      active

      oldest

      votes






      active

      oldest

      votes









      4














      This answer explains what the OP saw with column names and how to work with that, but the real answer is to use get_var() as in Howdy_McGee's answer.




      The string you're seeing is the column name that MySQL is using for the result, because it doesn't have any better ideas. One way is to give it an explicit name to use instead with AS, e.g.



      global $wpdb;
      $wpdbp = $wpdb->prepare('SELECT EXISTS ([some query] WHERE user_id =%d) AS `exists`;',
      $target_user_id);
      $result = $wpdb->get_results($wpdbp);


      then the column name will be exists, i.e.



      $result = $result[0]['exists'];


      However I'm surprised there isn't a 'execute query and return scalar' method in $wpdb that you can use instead to just fetch a single result like this. There is a better way, but I'd missed it as I was searching for terms like 'scalar', bah.






      share|improve this answer





























        4














        This answer explains what the OP saw with column names and how to work with that, but the real answer is to use get_var() as in Howdy_McGee's answer.




        The string you're seeing is the column name that MySQL is using for the result, because it doesn't have any better ideas. One way is to give it an explicit name to use instead with AS, e.g.



        global $wpdb;
        $wpdbp = $wpdb->prepare('SELECT EXISTS ([some query] WHERE user_id =%d) AS `exists`;',
        $target_user_id);
        $result = $wpdb->get_results($wpdbp);


        then the column name will be exists, i.e.



        $result = $result[0]['exists'];


        However I'm surprised there isn't a 'execute query and return scalar' method in $wpdb that you can use instead to just fetch a single result like this. There is a better way, but I'd missed it as I was searching for terms like 'scalar', bah.






        share|improve this answer



























          4












          4








          4







          This answer explains what the OP saw with column names and how to work with that, but the real answer is to use get_var() as in Howdy_McGee's answer.




          The string you're seeing is the column name that MySQL is using for the result, because it doesn't have any better ideas. One way is to give it an explicit name to use instead with AS, e.g.



          global $wpdb;
          $wpdbp = $wpdb->prepare('SELECT EXISTS ([some query] WHERE user_id =%d) AS `exists`;',
          $target_user_id);
          $result = $wpdb->get_results($wpdbp);


          then the column name will be exists, i.e.



          $result = $result[0]['exists'];


          However I'm surprised there isn't a 'execute query and return scalar' method in $wpdb that you can use instead to just fetch a single result like this. There is a better way, but I'd missed it as I was searching for terms like 'scalar', bah.






          share|improve this answer















          This answer explains what the OP saw with column names and how to work with that, but the real answer is to use get_var() as in Howdy_McGee's answer.




          The string you're seeing is the column name that MySQL is using for the result, because it doesn't have any better ideas. One way is to give it an explicit name to use instead with AS, e.g.



          global $wpdb;
          $wpdbp = $wpdb->prepare('SELECT EXISTS ([some query] WHERE user_id =%d) AS `exists`;',
          $target_user_id);
          $result = $wpdb->get_results($wpdbp);


          then the column name will be exists, i.e.



          $result = $result[0]['exists'];


          However I'm surprised there isn't a 'execute query and return scalar' method in $wpdb that you can use instead to just fetch a single result like this. There is a better way, but I'd missed it as I was searching for terms like 'scalar', bah.







          share|improve this answer














          share|improve this answer



          share|improve this answer








          edited Apr 18 at 10:35

























          answered Apr 16 at 14:39









          RupRup

          814815




          814815























              6














              The WPDB Class has quite a few methods which vary what will be returned.



              Using WPDB::get_results() returns an array of objects whose properties end up being what it expects to be returned. In this case may be best to alias your subquery. For example, if I wanted to check if user ID 1 exists I could say:



              $results = $wpdb->get_results( "SELECT EXISTS( SELECT ID FROM $wpdb->users WHERE ID = 1 ) AS 'exists'" );

              if( ! empty( $results ) && $results[0]->exists )
              /* ... */



              A better solution would be, if you just want one thing returned, you could use WPDB::get_var()



              $exists = $wpdb->get_var( $wpdb->prepare( "
              SELECT EXISTS ( [some query] WHERE user_id = %d )
              ", $user_id ) );

              if( $exists )
              /* ... */



              Or if you wanted the username by ID:



              $username = $wpdb->get_var( $wpdb->prepare( "
              SELECT user_login FROM $wpdb->users WHERE ID = %d
              ", $user_id ) );

              if( ! empty( $username ) )
              printf( 'User %d user name is: %s', $user_id, $username );



              That being said your best bet is to read through the documentation and look at the available methods to figure out which is best in your user case:



              https://codex.wordpress.org/Class_Reference/wpdb






              share|improve this answer



























                6














                The WPDB Class has quite a few methods which vary what will be returned.



                Using WPDB::get_results() returns an array of objects whose properties end up being what it expects to be returned. In this case may be best to alias your subquery. For example, if I wanted to check if user ID 1 exists I could say:



                $results = $wpdb->get_results( "SELECT EXISTS( SELECT ID FROM $wpdb->users WHERE ID = 1 ) AS 'exists'" );

                if( ! empty( $results ) && $results[0]->exists )
                /* ... */



                A better solution would be, if you just want one thing returned, you could use WPDB::get_var()



                $exists = $wpdb->get_var( $wpdb->prepare( "
                SELECT EXISTS ( [some query] WHERE user_id = %d )
                ", $user_id ) );

                if( $exists )
                /* ... */



                Or if you wanted the username by ID:



                $username = $wpdb->get_var( $wpdb->prepare( "
                SELECT user_login FROM $wpdb->users WHERE ID = %d
                ", $user_id ) );

                if( ! empty( $username ) )
                printf( 'User %d user name is: %s', $user_id, $username );



                That being said your best bet is to read through the documentation and look at the available methods to figure out which is best in your user case:



                https://codex.wordpress.org/Class_Reference/wpdb






                share|improve this answer

























                  6












                  6








                  6







                  The WPDB Class has quite a few methods which vary what will be returned.



                  Using WPDB::get_results() returns an array of objects whose properties end up being what it expects to be returned. In this case may be best to alias your subquery. For example, if I wanted to check if user ID 1 exists I could say:



                  $results = $wpdb->get_results( "SELECT EXISTS( SELECT ID FROM $wpdb->users WHERE ID = 1 ) AS 'exists'" );

                  if( ! empty( $results ) && $results[0]->exists )
                  /* ... */



                  A better solution would be, if you just want one thing returned, you could use WPDB::get_var()



                  $exists = $wpdb->get_var( $wpdb->prepare( "
                  SELECT EXISTS ( [some query] WHERE user_id = %d )
                  ", $user_id ) );

                  if( $exists )
                  /* ... */



                  Or if you wanted the username by ID:



                  $username = $wpdb->get_var( $wpdb->prepare( "
                  SELECT user_login FROM $wpdb->users WHERE ID = %d
                  ", $user_id ) );

                  if( ! empty( $username ) )
                  printf( 'User %d user name is: %s', $user_id, $username );



                  That being said your best bet is to read through the documentation and look at the available methods to figure out which is best in your user case:



                  https://codex.wordpress.org/Class_Reference/wpdb






                  share|improve this answer













                  The WPDB Class has quite a few methods which vary what will be returned.



                  Using WPDB::get_results() returns an array of objects whose properties end up being what it expects to be returned. In this case may be best to alias your subquery. For example, if I wanted to check if user ID 1 exists I could say:



                  $results = $wpdb->get_results( "SELECT EXISTS( SELECT ID FROM $wpdb->users WHERE ID = 1 ) AS 'exists'" );

                  if( ! empty( $results ) && $results[0]->exists )
                  /* ... */



                  A better solution would be, if you just want one thing returned, you could use WPDB::get_var()



                  $exists = $wpdb->get_var( $wpdb->prepare( "
                  SELECT EXISTS ( [some query] WHERE user_id = %d )
                  ", $user_id ) );

                  if( $exists )
                  /* ... */



                  Or if you wanted the username by ID:



                  $username = $wpdb->get_var( $wpdb->prepare( "
                  SELECT user_login FROM $wpdb->users WHERE ID = %d
                  ", $user_id ) );

                  if( ! empty( $username ) )
                  printf( 'User %d user name is: %s', $user_id, $username );



                  That being said your best bet is to read through the documentation and look at the available methods to figure out which is best in your user case:



                  https://codex.wordpress.org/Class_Reference/wpdb







                  share|improve this answer












                  share|improve this answer



                  share|improve this answer










                  answered Apr 16 at 14:42









                  Howdy_McGeeHowdy_McGee

                  13.8k1459127




                  13.8k1459127



























                      draft saved

                      draft discarded
















































                      Thanks for contributing an answer to WordPress Development Stack Exchange!


                      • Please be sure to answer the question. Provide details and share your research!

                      But avoid


                      • Asking for help, clarification, or responding to other answers.

                      • Making statements based on opinion; back them up with references or personal experience.

                      To learn more, see our tips on writing great answers.




                      draft saved


                      draft discarded














                      StackExchange.ready(
                      function ()
                      StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fwordpress.stackexchange.com%2fquestions%2f334503%2fis-there-a-better-way-to-access-wpdb-results%23new-answer', 'question_page');

                      );

                      Post as a guest















                      Required, but never shown





















































                      Required, but never shown














                      Required, but never shown












                      Required, but never shown







                      Required, but never shown

































                      Required, but never shown














                      Required, but never shown












                      Required, but never shown







                      Required, but never shown







                      Popular posts from this blog

                      Wikipedia:Vital articles Мазмуну Biography - Өмүр баян Philosophy and psychology - Философия жана психология Religion - Дин Social sciences - Коомдук илимдер Language and literature - Тил жана адабият Science - Илим Technology - Технология Arts and recreation - Искусство жана эс алуу History and geography - Тарых жана география Навигация менюсу

                      Club Baloncesto Breogán Índice Historia | Pavillón | Nome | O Breogán na cultura popular | Xogadores | Adestradores | Presidentes | Palmarés | Historial | Líderes | Notas | Véxase tamén | Menú de navegacióncbbreogan.galCadroGuía oficial da ACB 2009-10, páxina 201Guía oficial ACB 1992, páxina 183. Editorial DB.É de 6.500 espectadores sentados axeitándose á última normativa"Estudiantes Junior, entre as mellores canteiras"o orixinalHemeroteca El Mundo Deportivo, 16 setembro de 1970, páxina 12Historia do BreogánAlfredo Pérez, o último canoneiroHistoria C.B. BreogánHemeroteca de El Mundo DeportivoJimmy Wright, norteamericano do Breogán deixará Lugo por ameazas de morteResultados de Breogán en 1986-87Resultados de Breogán en 1990-91Ficha de Velimir Perasović en acb.comResultados de Breogán en 1994-95Breogán arrasa al Barça. "El Mundo Deportivo", 27 de setembro de 1999, páxina 58CB Breogán - FC BarcelonaA FEB invita a participar nunha nova Liga EuropeaCharlie Bell na prensa estatalMáximos anotadores 2005Tempada 2005-06 : Tódolos Xogadores da Xornada""Non quero pensar nunha man negra, mais pregúntome que está a pasar""o orixinalRaúl López, orgulloso dos xogadores, presume da boa saúde económica do BreogánJulio González confirma que cesa como presidente del BreogánHomenaxe a Lisardo GómezA tempada do rexurdimento celesteEntrevista a Lisardo GómezEl COB dinamita el Pazo para forzar el quinto (69-73)Cafés Candelas, patrocinador del CB Breogán"Suso Lázare, novo presidente do Breogán"o orixinalCafés Candelas Breogán firma el mayor triunfo de la historiaEl Breogán realizará 17 homenajes por su cincuenta aniversario"O Breogán honra ao seu fundador e primeiro presidente"o orixinalMiguel Giao recibiu a homenaxe do PazoHomenaxe aos primeiros gladiadores celestesO home que nos amosa como ver o Breo co corazónTita Franco será homenaxeada polos #50anosdeBreoJulio Vila recibirá unha homenaxe in memoriam polos #50anosdeBreo"O Breogán homenaxeará aos seus aboados máis veteráns"Pechada ovación a «Capi» Sanmartín e Ricardo «Corazón de González»Homenaxe por décadas de informaciónPaco García volve ao Pazo con motivo do 50 aniversario"Resultados y clasificaciones""O Cafés Candelas Breogán, campión da Copa Princesa""O Cafés Candelas Breogán, equipo ACB"C.B. Breogán"Proxecto social"o orixinal"Centros asociados"o orixinalFicha en imdb.comMario Camus trata la recuperación del amor en 'La vieja música', su última película"Páxina web oficial""Club Baloncesto Breogán""C. B. Breogán S.A.D."eehttp://www.fegaba.com

                      Vilaño, A Laracha Índice Patrimonio | Lugares e parroquias | Véxase tamén | Menú de navegación43°14′52″N 8°36′03″O / 43.24775, -8.60070