Questions tagged as 'php'

1
answer

Can Laravel be used without databases?

Maybe the question is very silly but I am new to Laravel. I am currently developing a project similar to a blog and you need to implement a user that would be the administrator. So since I only need 1 user I do not see any sense in using a BD. I...
asked by 15.10.2018 / 21:17
1
answer

Display taxonomies in stylish publications

I am trying to visualize in a publication the result of a chosen taxonomy, but I am stuck: <? php the_terms ($ post-> ID, 'localidad', 'Localidades:', '/ '); ?> But they appear one below the other and I wish that I appear on the sa...
asked by 16.10.2018 / 00:10
1
answer

Save data in array in PHP and display it

I have the following code and would like me to save the data in a array and then display them by clicking the show button. Does anyone know how to make a array that stores the data entered in the first and last name variables?...
asked by 17.10.2018 / 13:48
2
answers

Change php path in Composer

Good morning, colleagues! I am starting in Laravel and after some problems with MAMP I preferred not to work with him and I went for XAMPP. During the installation of Composer I gave him the MAMP php route and would like to redirect to the...
asked by 16.10.2018 / 12:35
1
answer

Help the amount value is stored for all the stock?

I am making a shopping cart via web and it is practically finished the problem to verify that the amount is equal to the stock this throws me a message saying exceeded the limit, but that happens with all those who have the same stock as another...
asked by 16.10.2018 / 14:47
0
answers

My /user/index.php does not open as / user / (.htaccess problem)

I just created the file .htaccess so you do not have to name the label of the files to open them (delete the .php of contacto.php , for example). It worked for me, but the problem is that now going to example.com/user, I t...
asked by 16.10.2018 / 14:28
0
answers

Add time to a schedule

Good morning. I have a problem and I hope you can support me. I have to register a field in the bd let's say with 4 hours and in a field of html we will record a start time of a task, say 4:00 pm in a field type="time" and what...
asked by 16.10.2018 / 14:59
1
answer

Learning App Cordova

I am beginning to learn to program in cordova and I need a couple of things: - Do you know any guide to learn? - I have the following code and when I compile it with cordova run browser it works perfectly but then when I put it on the mobile whe...
asked by 13.10.2018 / 21:49
0
answers

Create a view from the values of a field

I am a student who has been working with drupal 7 for a website and I can not make the following work. I will try to explain it as clearly as possible. I have a type of content, for example: My selection. This type of content contains differe...
asked by 15.10.2018 / 16:56
0
answers

Problem with Worksheet.php PHPEXCEL

I have been using this tool to generate excel files, and it has worked excellently, but when creating a new excel it marks me an error and I can not find a solution, I leave here my code and the code of the Worksheet. ------------ Code that I...
asked by 15.10.2018 / 17:23