Questions tagged as 'mysql'

0
answers

How to make a Like button with counter using laravel 5.3?

I'm having trouble running the Counter for the likes and dislikes. The problem is that you are not saving the numbers in the bank. For a better understanding, here are the details: Layout NewsController.phppublicfunctionAdicionarGost...
asked by 17.04.2018 / 00:57
1
answer

php foreach multilevel menu

Hellofriends,howareyou?IhavethefollowingproblemIhavethisdatabaseneedtocreateamenuwithmultilevelforthesiteblog,Icreatedonewiththefollowingcode:<ulclass="nav navbar-nav" style="display: block;"> <?php $catsPassadas = arra...
asked by 17.04.2018 / 16:04
2
answers

Create bank and table with PHP PDO Mysql

Good afternoon everyone, I'm a programmer and I'm having a problem, I'm creating a web store registration system, I created an administrative page to register the stores, in that I registered the store data with a responsible name and user and p...
asked by 17.04.2018 / 19:08
0
answers

Create GRANT with condition

I have a table CONDUCTOR (columns: name, cnh, address, portfolio_points) and a GRANT analyst. The analyst can only access data from drivers who have more than 0 points in the portfolio. Grant select on driver to analyst with GRANT OPTION;...
asked by 18.04.2018 / 20:50
1
answer

simultaneous access lock - Codeigniter

I need to block simultaneous accesses with the same login on my system, I currently use CodeIgniter as a framework. When I log in to the system, I can be logged in to the DB and logout is granted access to that user. Problems: When the bro...
asked by 16.04.2018 / 16:08
0
answers

Combobox Mysql PHP Codigniter

Hello I would like the help of you, I am a beginner in programming and I can not solve it. I have a form to register PRODUCTS, in this form has a combobox to select which is the supplier of the product. this combobox is populated with data...
asked by 16.04.2018 / 18:28
1
answer

ABOUT MYSQL AND FOREIGN KEY

Good evening guys! I have a database with the tables: PASSENGERS DRIVERS TRAVEL A driver is assigned for each trip. More than one passenger can go on the same trip. Doubt: How do I refer to more than one passenger on the same t...
asked by 12.04.2018 / 06:11
0
answers

Website visits

Hello friends I have this information of my visitors to make a Dashboard pretty cool, I am wanting to calculate the time of permanence of the clients in the site, every access that the person gives it writes in the database with this we ha...
asked by 12.04.2018 / 14:47
0
answers

Export query to CSV file with PHP

I have a PHP code that does a query in the database and was to return the values to a CSV file, but this is not happening. The script is even returning the query, but the values are only in the browser and the CSV file is not created. I'm using...
asked by 15.04.2018 / 03:01
0
answers

How to use different units of measure in the same table

I have a page that shows a table with the monthly results of each project, each record being a different project. The problem is that each project uses different units of measure to deliver its result and how do I define the unit of measure wh...
asked by 11.09.2018 / 17:45