Questions tagged as 'php'

2
answers

Display data in table

I'm trying to display these items this way: Howeverafterseveralattemptsthetablealwayslookslikethis: How do I make the table to get this result? View <h2>Apagar evento</h2> <br> <table border="1" width "100px" borde...
asked by 27.03.2014 / 18:16
2
answers

How to receive messages from a GPS that uses GPRS via PHP?

I have a Gosafe G91i device, a GPS device that sends its location from time to time to an IP and a port that I can configure. At the moment, IP and port of an online server (Orange gps-trace) are set and I would like to set it to a server of min...
asked by 18.03.2014 / 13:19
1
answer

preg_match_all to find text between strings

I would like to get the text between "play_url":" and "," using PHP's preg_match_all, but those quotes are complicating me and I do not even know the direction it would be for the tracking code, what I currently have is this: p> $...
asked by 20.11.2018 / 00:42
2
answers

How to update only one column of the record?

I made a code to update some columns of my record when I need it. There are 7 columns listed in array , but generally I only update 1 or 2 columns. With this code I can update my registry, but I have to put data in all inputs , in ca...
asked by 21.11.2018 / 20:23
2
answers

Regex to extract content from string

Good evening guys, Thank you for visiting and suggesting to help me. I am very bad at regex so I come to ask for your help. I have the following string which can also vary by example: string(49) "02/12/2018 (Assessment 2) = /86= | Weight...
asked by 26.11.2018 / 00:10
3
answers

Call post on the page that is shown

I have a post page that shows the title of the post and I want it to click on the title to open a DIV with the post itself. I do not have Javascript issues that are required for this. My problem is that all news is being displayed, rather tha...
asked by 15.12.2014 / 17:37
1
answer

Magento Admin error 404

I changed my store in magento to another domain, I changed the urls in the database, and I cleaned the cache, the home accesses normal, but the admin is giving error 404 , how should I proceed? Magento Store     
asked by 19.12.2014 / 14:22
1
answer

Refresh page in time interval

I need to set the goal: meta http-equiv="refresh" content="30" In the meantime I'm using CodeIgniter and I can not do it. I tried: $this->output->set_header('refresh:30;url=minhapagina.php'); Any suggestions?     
asked by 09.04.2014 / 18:23
1
answer

PHPUnit and Selenium - How to call specific functions of the test script?

I need to create multiple test scripts for WEB using PHPUnit and Selenium . I was successful with my initial tests. I was even able to test the login and logout of my web page effectively. The problem is that I can only execute all the f...
asked by 14.04.2014 / 15:14
2
answers

How to integrate Facebook login with ZF1 Auth?

I have an application in ZF1 running and with authentication system that uses database query. I would like to know how I can integrate the 2 ways of logging, that is, if the user opts for facebook, have the same accesses and the same information...
asked by 04.02.2014 / 15:21