Questions tagged as 'php'

1
answer

checkbox wrongly marked in Angularjs

I have a page in angular that returns a list of results of book copies. The search filters work well, the results are paginated, all without problems. These results have a checkbox on your left, so you can mark several at once and be able, for e...
asked by 28.09.2017 / 15:16
3
answers

How to extract data within a chain [closed]

I need to extract the ID of products from Amazon . I am developing a small application to calculate the cost of buying and shipping products from online stores. He had managed to bring the information with cURL and XPath...
asked by 09.06.2017 / 23:47
1
answer

Column not found: 1054 Unknown column 'id' in 'where clause' Laravel 5.3

Greetings, I am updating a table called tbl_articles using the same view where the Primary key = idArticulo, the insert performs me impeccably the problem is when I want to update it generates the error I AM WORKING WITH LARAVEL 5.3 QueryExcep...
asked by 23.05.2017 / 05:56
1
answer

Send variables $ _POST [] with header ("location: URL");

I have a PHP file in which I send the actions with forms in which there are inputs type hidden with the variables I need. But there comes a time when I need to reload the page and keep the variables of $_POST . The reload is necessary to a...
asked by 31.01.2017 / 09:57
1
answer

What does #numero_anything mean at the end of stdClass in an object var_dump in PHP?

Having this query to the database, configuring to obtain an object: $data = [ 123 => 1000, 5 => 20000, 9 => 30000, ]; $id = 123; $news = $pdo->query('SELECT * FROM personas')->fetchAll(PDO::FETCH_OBJ); var_dump(...
asked by 27.07.2017 / 03:43
2
answers

if online php does not work

I have this code <?php $country=$result['pais']; } $strSQL = "SELECT id, nombre FROM paises"; $query = mysqli_query($db, $strSQL); $totalrows = mysqli_num_rows($query); ?> <select class="form-control" name="acccountry"> <?p...
asked by 28.10.2016 / 10:45
3
answers

Do filtering with jquery and php

Good, I have a catalog of products that I did with a while to show all the products that I have in the db, the thing is that the template I use brings some that I would like to use to filter the products, the thing is. Searching I did something...
asked by 24.10.2016 / 01:56
2
answers

save an IP in a database

Good morning I'm trying to create a database to save the "likes" that the user gives. For this I need to save the IP so that the same person does not vote repeatedly. The problem is that I get the IP but it does not save it (or at least it do...
asked by 19.06.2017 / 14:02
2
answers

Doubt about click on submit php jquery

I tried to learn a little more, a few months ago as a learning I developed a very basic shopping cart, all in PHP . Due to several limitations every time I change the screen I reload some sections that do not vary, such as headers and footers,...
asked by 19.10.2016 / 03:00
2
answers

How to place an event for several elements?

I have a doubt. Well, I have a post in which users post comments and next to each post I have a button belonging to each of them. Well, how do I do it so that when I click on each one of them? those buttons I get a popup. With what event? An...
asked by 08.10.2016 / 06:54