Posts by Wagner • 181 points
13 posts
-
0
votes1
answer95
viewsQ: Laravel - Where in relationships?
I have a function that looks for a value of a query with WHERE in relationship : $em = \App\Elevatoria::whereHas('elevatorias_monitoramento', function(Builder $query) {…
-
1
votes1
answer328
viewsQ: Laravel Validator require
When placing the option required in the validation rules of Laravel $validator=\Validator::make($request->all(),['po_bairro'=>'require|string|min:5|max:50']); it requires you to have the value…
-
0
votes0
answers125
viewsQ: Iframe shows system on localhost - PHP
Good morning I’ll try to explain my situation and see if there’s a solution. I have a server that runs a java web application that I want to run only on localhost. Yet, on this server, I have a PHP…
-
1
votes0
answers463
viewsQ: Jquery - html - Javascript - Update page fields when registering information
Good night First of all, I thank you for the attention of those who help me in some way. So, actually, I don’t even know how to google this, so I decided to write here to see if there’s anything…
-
1
votes0
answers125
viewsQ: Openlayers 3 - Recover Polygon via ajax for editing
I have a page that has a map of Openlayers (version 3). On this map, I have inserted some interactions, such as: Create and change polygons. Well, so far, so good. I create the polygons, which are…
openlayers-3asked Wagner 181 -
2
votes3
answers1441
viewsQ: PHP Regex Catch the html tag
I would like to ask for help to make a regex that separates the values of this string: <table>|<tr>[<td>#VALOR#</td>]</tr>|</table> I would need the regex to…
-
1
votes0
answers29
viewsQ: Android app shows error
Good night I’m learning to use Android Studio. I’m trying to develop an application that picks up some json data via url, but when running my application, it presents the following error: 02-01…
-
3
votes0
answers20
viewsQ: Codeigniter - Centos 6 - PHP - <?= and <??
I have installed in my Windows 7 the xampp to develop a system in Codeigniter. Beauty, no problems.... I use the tags <?= $variavel; ?>, to print something in the view ... it works that is a…
-
0
votes2
answers119
viewsA: Centos 6 - Codeigniter - HMVC - Not Found
I managed to fix it. I’m not sure exactly where the problem was, but my actions were as follows:: I have set up httpd file, to accept read file . htaccess; And I created the . htaccess file directly…
-
2
votes2
answers119
viewsQ: Centos 6 - Codeigniter - HMVC - Not Found
Good afternoon I am developing a system with Codeigniter 2.X, and I use the concept of HMVC. My files are like this: ->system/ .htaccess ->application/ ->controllers ->... ->model…
-
1
votes1
answer69
viewsQ: Codeigniter config set_item
I use the Codeigniter, and I made a config and now I can’t set the value for it. Actually I can, but the value is only for the Controller current. If I switch to another and pull that config, the…
codeigniterasked Wagner 181 -
2
votes3
answers861
viewsQ: Run php code within a variable
Good evening, everyone There is the possibility to rotate this: <?php $variavel = 'foreach($v1 as $v2){echo $v2;};'; echo $variavel; ?> Or is there any way to run a class within a variable (a…
-
3
votes0
answers98
viewsQ: Codeigniter 2.2 and Doctrine 2
I have installed CI2, Doctrine 2 and HMVC. I followed the steps of this website except for Smarty that I didn’t find necessary. My folders are organized as follows: ->application ->cache…