Questions tagged as 'php'

1
answer

How to enter a counter inside the while?

If you can help me how you could enter a counter in the while, the idea is to filter it by a range of dates shows me the information otherwise if it is out do not show me if you can help me thank you . here is the code <?php require_once...
asked by 29.10.2018 / 15:15
3
answers

How to extract a certain part of a string in PHP?

I have the following chains I need to extract only the countries Roaming atv te da la bienvenida a Peru.Llamadas Roaming atv te da la bienvenida a Reino Unido.Llamada Roaming atv te da la bienvenida a Espana.Llamada Roaming atv te da la bienve...
asked by 05.11.2018 / 14:02
5
answers

Redirect to app play store from html

I would like to know how I can open my app directly in the google play store. It happens that we have an application that has a WebView pointing to the site of our company, on the site of our company we are placing the code below (that is a t...
asked by 05.05.2016 / 20:49
3
answers

cookies vs sessions [closed]

I am working on the development of a website and the time has come to start working with cookies. Currently, I use sessions to register users, but I wonder: What are the differences between sessions and cookies? What are its advantag...
asked by 04.06.2017 / 15:21
2
answers

MVC Call model from another entity

I'm working with CodeIgniter and as you know PHP is quite free and lets us do many things, sometimes bad practices. The question is more theoretical than the Framework. In an MVC architecture, is it bad practice to call the model of another e...
asked by 11.04.2018 / 22:14
2
answers

Problem in query mysql php pdo the data is repeated

Companions of StackOverFlow, I have the following question, I am trying to make a simple system of test or evaluation in php and create my database in the following way: +----------------+ | Tables_in_game | +----------------+ | answers...
asked by 24.04.2018 / 20:37
3
answers

How to filter columns from a table with checkbox in Laravel

I have a table that shows some data from the database in MYSQL which has a checkbox that acts as a filter which, should validate that the city of the user connected in the session is equal to the city of some registry of my table complexes , a...
asked by 24.12.2018 / 14:41
0
answers

Would my PHP structure be fine, or would it cause possible errors in the future? [closed]

I've been learning php for a while, and I've considered creating a more serious project. I'm still making prototypes of structuring the project, and for the moment, of all the ones I've done, it's based on this. Now that you have seen w...
asked by 03.01.2019 / 00:53
1
answer

Show message with Flash in Laravel 5 when redirecting

I am trying to display a message (Notification) when creating a user using Flash (Laracast). In my user controller I have the store function: public function store(Request $request){ $user = new User($request->all()); $user->...
asked by 12.01.2016 / 04:16
1
answer

Links crossed out when sharing on Facebook

I made a Facebook application that I linked to my site with the PHP SDK v5 on Facebook, with this application the user logs on to my site and I give him the option to publish on my site, while it is published on the site. site is shared in certa...
asked by 03.04.2016 / 08:32