All Questions

2
answers

How to create multi subdomains from folders?

How to create multi subdomains with htaccess from folders, let's say I have my folders like this /folder1/folder2/ and I want my address to be so folder1.folder2.dominio.com     
asked on 29.06.2016 / 01:48
1
answer

Collect answer .bat from VBA

Des of VBA I execute a bat using Call Shell (...) and it works correctly. Now I need to pick up the answer of this bat, which has an "Echo answer". Any ideas on how to do this? Thank you,     
asked on 10.08.2018 / 10:26
1
answer

Know if a word is found in a string in php

I have the following code: $msg = 'Hola :1: quetal??, :2:'; $emoticones = array(':1:',':2:',':3:'); $cntidademoticon = explode(' ', $msg); foreach ($cntidademoticon as $string) { echo '<br>'.$string.'<br>'; } What I am looki...
asked on 19.08.2018 / 02:46
1
answer

Apply a WHERE to my SQL statement in a selective and total SUM

guys I have the following conflict: I have the following SQL statement SELECT SUM(monto) AS 'total', SUM(CASE WHEN status_pago = 'PENDIENTE' THEN 1 ELSE 0 END) AS 'pendiente', SUM(CASE WHEN status_pago = 'APROBADO' THEN 1 ELSE 0 E...
asked on 10.10.2018 / 04:43
2
answers

Error Crud update Laravel

Someone helps me with this error that has me already with a headache please Part of the Controller of the Update: public function edit($id) { return view("almacen.categoria.edit",["categoria"=>Categoria::findOrFail($id)]); }...
asked on 24.08.2018 / 17:17
1
answer

Why does ucwords () behave like ucfirst ()?

I have an array of people from which I want the first letter of each word to become capital, so I am using ucwords() . The problem arises since you are acting as if you are using ucfirst() . Code: foreach ($data['alumnos'] as &a...
asked on 06.10.2018 / 00:06
1
answer

SQL query in MySQL between 3 tables

I have in MySql 3 tables, of which 1 contains the code of the other two tables I try to make a select that shows me the first table and instead of the ID of the other 2 tables show me the corresponding name tabla_1 int id_tabla1 varchar nombre...
asked on 29.07.2018 / 02:52
3
answers

Help with query sql server 2008 pls

I have a table called usuarios which has several fields, one of them is the field estado_usuario which has as parameter 0, means the user is disabled and 1 which means that the user is valid. I need to count the number of curren...
asked on 01.10.2018 / 17:40
2
answers

Can variables be used in jQuery?

I would like to know if it is possible to use variables in jQuery and, if so, in what way. I explain what I'm trying to do. I have the following HTML code right now: <html> <head> <title>Prueba</title> <sc...
asked on 06.08.2018 / 21:05
3
answers

how to use a href on a label other than (a)

I'm using a tag with a href that calls id to do its function <a href="#openModal">Abrir</a> It happens that I can not use a tag at the moment because I'm hurting all the work, I want to know what other tag I can use and th...
asked on 25.09.2018 / 00:12