Questions tagged as 'php'

1
answer

MySql PHP query id varchar does it as a numeric

I have a MySql database, a student id is a varchar of 11, numbers are stored in this field but can start in zeros. for example 00000321. but it can also store 000321, but when consulting through jquery to PHP with id 0321 without the leading zer...
asked by 05.07.2017 / 06:23
1
answer

Error editing XML file using PHP form

How about, I'm trying to edit an .xml file using PHP and HTML, my problem is that when I edit a node it goes well, then the other nodes are deleted and remain empty. Here my complete code. Book1.xml file <?xml version="1.0" encoding="UTF...
asked by 05.07.2017 / 14:29
2
answers

Configure .htaccess in Codeigniter CentOS 7 Server?

Cordial Greeting. Recently I'm working with the Codeigniter framework and a small web app, I use CentOS 7 to mount the application. The problem is that I use the CodeIgniter URL helper to remove the index.php from the URL de http://midomini...
asked by 05.07.2017 / 14:45
2
answers

How do I save an array in the column of a database record, using PHP?

I'm doing it in the following way but in the bd it keeps me "array" and not the fix, can you help me please. <!DOCTYPE html> <html> <head> <script type="text/javascript" src="getmapa.js"></script> &...
asked by 30.06.2017 / 01:14
1
answer

Doubt with collation of mysql

I am putting together a part of the page where I will show brief "news" that will be loaded by the administrators of the page. I am using the MySQL database and I have some doubts about the "collation" and the possibility that I can save the com...
asked by 30.06.2017 / 22:42
2
answers

Prevent a user from registering with an existing PHP SQL mail

Good, I recently re-programmed and I have a problem that is as follows: I have a database with the users table. that this table has mail, password, nick, photo_profile and id, the problem is that when registering users in the database, I can not...
asked by 30.06.2017 / 12:52
2
answers

Copy select value to input with PHP

How to make a select created with PHP send its value to a input created with PHP? Of this select : <th>Proveedor</th> <td> <select name="prov_id" id="prov_id"> <?php if (cou...
asked by 23.06.2017 / 22:04
1
answer

API to upload files in PHP [closed]

That such people, I'm looking for a PHP API / Framework that allows uploading files to a web server securely (I do not want a defacement on my site), I'm using PHP, HTML, AngularJS, Bootstrap. If you know someone who can help me and that t...
asked by 24.06.2017 / 08:20
3
answers

Problem modifying css

When I want to modify the css, it does not make the changes that I make ... even if I delete a line from the css it's like it's always there and I do not understand why ... although the files are php, would there be a problem?     
asked by 29.06.2017 / 00:38
1
answer

get a String from a VolleySingleton request on Android

I have a database on an external server, I want to check that the value that the user has entered for a field does not exist in a column of my table previously, if it is so warn and prevent it from advancing in the application. I use this php co...
asked by 29.06.2017 / 10:25