Questions tagged as 'php'

2
answers

Convert month number to month letter

I have this line of text to send a data from a column from my database and use the substr so that it only shows 01 of 2018-01-05T14: 00. My question is how can I convert that 01 that shows me to month in letter and so on 02, 03, etc. &...
asked by 03.01.2019 / 18:07
1
answer

Error renaming index.html with PHP

I'm trying to rename the "index.html" from a PHP file (settings.php) with the following line: rename ("/index.html", "/hidden.html"); And I find myself with the following warning    "Warning, read only file system in /srv/disk10/4521568/...
asked by 04.01.2019 / 21:38
1
answer

My contact form returns errors when sending messages [closed]

I have a problem with my page, I'm sure it's something very simple but I'm not realizing where I have the error. The problem is that the contact form does not work, I get the following error: "Sorry, there was an error in your data and the fo...
asked by 22.02.2016 / 14:48
2
answers

How do I host my website in a hosting service? [closed]

I have my website (html5, css3, js, php, codeigniter). I am a beginner student in this area of web development and I would like to know how it is possible to host my website to a free hosting service. I would be grateful for free hosting serv...
asked by 20.02.2016 / 00:53
3
answers

doubt with isset () laravel 5.5 function

I have a concern regarding the isset function, I have the following lines. $usuarios=usuarios::where("usuario_ad", 'danielad')->get(); $prueba=isset($usuarios); dd($prueba); With this, the query throws records to...
asked by 04.01.2019 / 19:49
2
answers

Error verifying if a record exists in the database

The following code gives me the error: Notice : Trying to get property of non-object in ... What it does is verify if a user exists in the database. $cate = $_POST['cat']; $veri = "SELECT * FROM category WHERE name = '$cate' "; $result = $...
asked by 13.02.2017 / 01:23
4
answers

how to send data post method of 2 forms in php?

How can I send data of 2 or more form of php to another page, I can do it with a single form that contains a table, but the design changes completely and I do not want that <div class="form-one"> <form>...
asked by 01.06.2016 / 13:28
2
answers

Display an insert message without flash sessions in laravel 5.2 with restfull drivers

I'm learning Laravel and I want to insert it into a table, and when I insert it, it shows a message in the view that the record has been inserted. I have tried it many times with flash sessions and there is no human way to show the message....
asked by 30.03.2016 / 09:44
1
answer

how to pass a variable from js to php

Hello good afternoon I have the following code that loads me some records, but also what I would like to pass a variable taking advantage of the code. <script > var mivariable=1; $(document).ready(function(){ $("#concepto").load(...
asked by 25.11.2018 / 18:14
1
answer

Leave a select without options

I have the following select where I select a type of wood and this has sub products of this, but sometimes the wood has no sub product so it hides the select of the byproduct. But when rescuing the data and sending it to the AJAX database...
asked by 15.11.2018 / 20:03