Questions tagged as 'mysqli'

0
answers

problem in storing characters with accents

Hello! my database is in utf8 and on all pages I put the following code: $con = mysqli_connect($_SG['servidor'], $_SG['usuario'], $_SG['senha'],$_SG['banco']); mysqli_query($con,"SET NAMES 'utf8'");//converte tudo em utf-8 \/ mysqli_que...
asked by 27.07.2016 / 15:33
0
answers

Popular input fields with jquery

Good afternoon, I'm doing a form where I type the client name in an input tag, after filling in the name it does the database search existing the name it fills the field code, document, this is ok works perfectly, but I I tried to stretch the...
asked by 12.05.2016 / 17:36
0
answers

Search filtering Start and End Yii

How to perform a search for the Start Date and End Date. I am using the Yii Framework. Can someone help me? I'm not able to search the date correctly. link     
asked by 15.03.2016 / 14:00
2
answers

Page does not receive and does not register the data in Mysql

I'm building an application in php for user registration, but for some reason when I enter the data and click on register, it reloads the page gives no error, and does not load anything in the database. <?php $page_title = 'Registra...
asked by 08.03.2016 / 02:04
1
answer

does anyone know how to solve an error in website hosting?

someoneknowhowtosolvealocaweberrorinaddition$stmt=mysqli_prepare($mysqli,$sql);mysqli_stmt_bind_param($stmt,'i',$id);mysqli_stmt_execute($stmt);$result=mysqli_stmt_get_result($stmt);Itdoesnotcarrytheproposedfunctioninlocawebhosting.Idecidedtog...
asked by 19.12.2015 / 16:25
3
answers

How to convert a MySQL connection to MySQL? [duplicate]

I decided to listen to some users to make the conversion but I need your help because I have done a lot of research and nothing works. The first file is: <?php include_once("/pasta/connectserver.php"); $table = "rjpsync_tag, rjpsync_i...
asked by 17.09.2014 / 13:47
0
answers

Format JOIN result object

[PROFESSORES] id | nome | 1 | Gilson | [CURSOS] id | nome | professor_id 1 | Photoshop | 1 2 | AutoCad | 1 I would like the result of my SELECT to come in the format: (Not necessarily or exactly the same, I just want to gro...
asked by 09.11.2015 / 18:12
0
answers

How to get data from different tables and insert into a new [closed]

Good evening, I'm doing a work for a course material and in it I have to work with three tables, in my case I use a customer registration table, a second car registration table and the third would be a junction of the two rental records from of...
asked by 24.11.2015 / 03:45
0
answers

I can not write text formatted with tinyCME in the database

The code without the text editor writes to the database. After I've placed the editor, the form's submit button does not send data. I'm also interested in recording snippets of programming codes. Below is the form code. <?php if(!isset($_SE...
asked by 17.10.2015 / 03:58
1
answer

How to put db_connect with my_sqli [duplicate]

My code: <?php class DB_CONNECT { // constructor function __construct() { // connecting to database $this->connect(); } // destructor function __destruct() { // closing db connection $this->close(); } /** * Fun...
asked by 19.08.2015 / 16:51