Questions tagged as 'php'

3
answers

PHP and SQLServer Connection

I'm trying to make a connection to SQLServer and PHP But the page returns me the following error:   Warning: mssql_connect () [function.mssql-connect]: Unable to connect to server: 192.168.2.7 \ SRVDOC \ DOCSYSTEMSCAN in C: \ wamp \ www \ con...
asked by 22.06.2014 / 01:46
1
answer

CodeIgniter opens many connections to the Database

I have an application on the client and they are complaining that it is opening many connections to the database, causing the server to crash. I searched the internet and did not find anything related. I would like to know if CodeIgniter a...
asked by 17.06.2014 / 16:06
3
answers

Pass variable from View to Controller

I'm doing a forum with PHP and CodeIgniter , and each category should display its subcategories , however, all categories show all sub-categories, how can I make each sub-category appear below its category? I do not have to do this with...
asked by 08.06.2014 / 18:49
2
answers

JQuery DataTables - Custom Header

I researched a lot and could not figure out how to customize the pdf report header that I generated from the plugin; For example, the "sTitle": "Groups" is the title that is in the header, but it comes out with the default styling of the plugin,...
asked by 09.06.2014 / 20:45
2
answers

Bxslider plugin does not show thumbnail

I'm using the Bxslider plugin to make a car with thumbnails, but I've tried everything and the thumbnails do not appear in any way. The images come from the bank, but even exchanged the images for a simple text does not appear. The html * php co...
asked by 18.06.2014 / 19:55
1
answer

After moving a post to the trash, metabox values disappear when I restore the post

I have a wordpress theme, where in the posts I have some metabox custom. By moving the post to the recycle bin and retrieving it again, it does not return with the metabox values filled in What can it be?     
asked by 30.06.2014 / 19:43
1
answer

Checkbox with data from one table, write to another

I have a form with a checkbox that pays data from the mao_obra table and needs to write to detail_orcamento , but I can only get and write the id from mao_obra but I also need the price and it is not writing, it follows the...
asked by 07.06.2014 / 18:28
2
answers

Paste text between two words with regex

I would like a light for my problem. My goal is to get the list below by dividing the blocks between the words LOREM and LOREM but I do not want to get the whole text that follows the end of the list pattern, as follows: LOREM :...
asked by 10.12.2014 / 18:56
1
answer

Taking a single value for PHP

$ch = curl_init('site'); curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1); curl_setopt($ch, CURLOPT_USERAGENT, "Mozilla/6.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.7) Gecko/20050414 Firefox/1.0.3"); curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, false);...
asked by 18.12.2014 / 22:11
1
answer

Ajax saving dynamically

I'm trying to save the register made, but when I open my modal, it does not understand that I'm clicking save, so it does not send the data, it follows the code I'm facing problems: Userlist.php <script type="text/javascript"> j...
asked by 02.06.2015 / 18:52