Questions tagged as 'mysql'

1
answer

Paginate laravel doubts

I made this code 1 in code 2 1)//$palpites=DB::select("SELECT * FROM palpite WHERE id_u='$id' order by id_c desc "); 2) $palpites = DB::table('palpite')->where('id_u',$id)->orderby('id_c','desc') ->paginate(3); How to turn t...
asked by 12.10.2017 / 17:05
1
answer

How to copy .php file [closed]

I have a database with fields: name I have an a.php file that will fetch the data name from mysql and fill it in a certain area of the page (content). What I want is that as long as there are data in the database in the column "name" the file...
asked by 12.10.2017 / 12:33
3
answers

SQL query does not return value

Good afternoon everyone. I have a question about what could be going wrong in a database query in which I use templates in PHP. Based on this project: link $sql = mysql_query("SELECT * FROM users ORDER BY idS DESC") or die(mys...
asked by 05.10.2017 / 21:17
1
answer

What is the relationship problem in these tables?

I am using Laravel and would like to make a relationship from the table of municipios that contains estado_id . The estado_id will be related to the estado_id of the table of estados . Soon after ru...
asked by 02.10.2017 / 20:37
1
answer

How to save images from an android imageview in a mysql database using a web service rest in java

I have an android application with an ImageView that receives an image of the device, and I need to save it in a mysql database through a Java web service how could I do this?     
asked by 13.10.2017 / 14:57
1
answer

Unable to retrieve metadata for - Error creating Controller

I created a web project with MVC and entity framework 4.5, and MYSQL database. I added the MySql.Data MySql.Data.Entity and MySql.web I made all the settings as images below IfollowedthewalkthroughandmyBankwasaddedaspicturebelow:...
asked by 13.10.2017 / 04:06
1
answer

This plugin generated 3 characters of unexpected output during activation

I'm creating a Zero plugin for Wordpress. All I want is to create shortcodes to print forms in php. But just put: <?php /* Plugin Name: BluePotion Form Plugin URI: http://bluepotion.com.br/ Description: Plugin teste Author: Kauê Nic...
asked by 12.10.2017 / 23:30
1
answer

Filtering words in text string

I'm needing a functional solution for a system I'm doing. I need to block the textarea field record if it contains some words in the string, eg: This is a brief description of my profile, my phone 33 3333-3333, my email: [email protected]...
asked by 13.10.2017 / 19:40
0
answers

UPDATE Mysql PHP

I have a website in 3 languages. PT-EN-ES. The customer always registers the information in PT first. Then q it ADD the other languages. DUVIDA: In the control panel you have the option to ADD these other 2 languages as in the image Dat...
asked by 29.09.2017 / 21:19
0
answers

Display the result of a content posted to a table in the mysql database where it already has its css..but it does not work on the frontend

As I said above my script works perfect but when I call in frontend $_POST['descricao']; She did not read the css that comes with this variable. At the bank you are registered like this: <p>Essa parte n&atilde;o &eacute;...
asked by 29.09.2017 / 15:56