Posts by Lucas • 87 points
11 posts
-
1
votes2
answers71
viewsQ: Select from all companies that have catalogues
I’m having a problem at a select in two tables that are returning the value twice. I have the table businesses and table catalogues which are linked by company id. and catalogues.id_company. When I…
-
1
votes4
answers657
viewsQ: How to organize many Ivs in Bootstrap (Image)
How do I organize many Divs col-xx-3 different heights? Is there any class or other method without using Row (every 4 products)? Some way no need to change Select or PHP? I tried several ways but I…
-
0
votes1
answer568
viewsQ: Add dot('.') after the 3rd character
I have a registration with the original code of the product, but I need to put a . (dot) after the 3rd character. Original code: 2022027 As it should be: 202.2027 Follows the structure of the table:…
-
0
votes2
answers48
views -
0
votes1
answer163
viewsQ: Select inside of Select
I am developing a product page that lists within each category all related products (they are various categories and various products). Like the code below, it 'rotates' all the categories and what…
-
1
votes1
answer85
viewsQ: Unlink: Permission Denied - Trying to get Property of non-object
Good afternoon, everyone, Recently I’ve been trying to manage images where I need to use unlink. Follow the full function code: $query_listaPic = "SELECT * FROM tbl_imagem WHERE tbl_produto_id =…
-
1
votes3
answers98
viewsA: Show BD value in Dropdown Box
<div class="form-group"> <label>Nivel de Usuário</label> <select class="form-control" disabled="true"> <option value="2" <?php if ($$row_listaMe['nivel']…
-
1
votes3
answers98
viewsQ: Show BD value in Dropdown Box
I have in my database a value for user level and I would like to be able to modify it in the change. I need to load the level of the logged in user when opening the page: <div…
-
0
votes2
answers7477
viewsA: Warning: mysql_num_rows() expects Parameter 1 to be Resource, Boolean Given in
The mistake was here: mysql_query($sql_select_all) or die(mysql_error()) By doing this I was able to observe the error in sql and fix. Thank you all!
-
0
votes2
answers7477
viewsQ: Warning: mysql_num_rows() expects Parameter 1 to be Resource, Boolean Given in
I have a problem with the job mysql_num_rows() "Warning: mysql_num_rows() expects Parameter 1 to be Resource, Boolean Given" I’ve been looking up other posts but none could help me. PHP is like…
-
0
votes2
answers57
viewsQ: Do a search for my site in two tables
I need to do a search for my site in which I returned first the companies that have something similar to typed and, right below, show all registered products with something similar to typed. I have…