I'm developing a website, where I have several products, for example and a button for each of them.
When I click the button, it opens a modal (Bootstrap).
But, I want to generate the contents of this modal, or the entire modal even dynamic...
Problem: making UPDATE work
Question: Is the script correct?
Request: Identify the reason for not doing the UPDATE and generating error.
Error: Notice: Undefined variable: db e Fatal error: Call to a member function prepare () on a non-object...
I'm trying to create an environment in laravel 5 where there is the customer access area (Front of Shop) and the administration area of pages, products, etc. (CMS), but the problem is that I can not find a way to split the sessions, for example:...
I have a field in a table with data separated by a comma:
id_regioes: 1,2,3,4,5,6 .
When I do the query "SELECT * FROM 'tb_operadora' WHERE 'id_regioes' = 1" , or "= 6" returns ok, but not when they are in 2,3,4,5. Eve...
I need a help, I'm developing an app with HMTL5, JS, CSS that lists a pizza menu. My PHP returns an array that I use json_encode() to make it available in JSON format. So far everything then I have the following <div> :
<...
I have in mysql two tables (subjects and pages), the page table has a field (subject_id), which relates what subject is that page.
I would like to mount a menu with submenu in bootstrap
This is Table Subjects
ID nome_menu_assunto
1 Ti...
I have the following scenario, I make a query to the database and return all the data:
<?php
include ("conectar.php");
$query = "SELECT * FROM pontos ORDER by pontos DESC LIMIT 0,10";
if ($result = mysqli_query($link, $query)) {
$list...
I need to make the SELECT field that looks like this today (code below) only displayed the previous, current, and next months. For example: As we are in the month of MAY, then it will display in this select (html) only the months of APRIL MAY an...
Save personal, I'm new here and I have a very peculiar question. I'm developing a system (CodeIgniter + MySQL) that records some events and should send an email on a predefined date, something around eight or nine months ahead. How can I schedul...