Questions tagged as 'php'

1
answer

how can I pass an array to string

I have a question about how to pass a string arrangement since I will use it later my arrangement is    $ fix [$ c1];   has N amount of data what I want is to save it in a variable to later use it     
asked by 02.11.2018 / 21:29
2
answers

Undefined variable in Laravel 5.7

partners I am having the following problem and I can not find the solution, I have a view with a form to register a user, which has the following dropdownlist <select class="form-control" name="department_id" id="department_id"> @foreach...
asked by 02.11.2018 / 19:00
0
answers

Logs with php and mysql

Someone would help me to paginate the results of my query in this code please. ++++++++++++++++++++++++++++++++++++++++++++++++++++ +++++++++++++++++++++++++++++++++++ <div class="tab-pane fade" id="list"> <...
asked by 03.11.2018 / 22:39
0
answers

assign values to input from selected ID of a select2

I hope you can help me, I'm new to this. I need that when selecting an input from a select2, show me the cost and the unit of measurement of the selected input in their corresponding input, in this case the inputs "unidadI_P" and "costoI_P"....
asked by 08.11.2018 / 22:46
0
answers

Error when using utf8_decode () in fpdf to generate pdf

I would like to ask for your help; I am using the FPDF library to generate pdf , previously my project ran on the Windows operating system but, due to the project's requirements, I now run it with Ubuntu. On Windows, everything worked fine wh...
asked by 03.11.2018 / 20:52
0
answers

Validate field type file so that it only accepts certificates open ssl in Cakephp 3

I have a field type file is the following: <?= $this->Form->file('key', [ 'id' => 'form__key', 'class' => '_oculto js--file__upload', 'name' => 'key', 'data-file' => 'application', 'acce...
asked by 08.11.2018 / 21:50
0
answers

How to make a request on a PHP page with IFTTT?

I need to send an information to a public page in an online server, I am using IFTTT Platform in which when I publish a Tweet I have to send certain tweet information (User, Hashtag, content etc) to a PHP page through of the URL and save that in...
asked by 08.11.2018 / 23:12
0
answers

How to call contents of a Content type from a form with multiple field

I would like to know in what form I can call (Summon a content type) to a form of multiple selection type in drupal 8. The idea is that each item of the field has preloaded the type of content that is going to be saved according to its Title....
asked by 01.11.2018 / 16:30
0
answers

Capturing variables with rewrite (.htaccess) does not work when changing hosting

I have a website in php where I mask the urls by "friendly" using the following .htaccess : RewriteEngine On # Turn on the rewriting engine # not rewrite css, js and images RewriteCond %{REQUEST_URI} !\.(?:css|js|jpg|gif|png)$...
asked by 08.11.2018 / 23:03
1
answer

Catchable fatal error: Object of class stdClass could not be converted to string

Good morning brothers! I have a webService in C # and I want to consume it with PHP but when I load it I get this error. Catchable fatal error: Object of class stdClass could not be converted to string I leave my code, thank you very mu...
asked by 01.11.2018 / 15:52