All Questions

4
answers

If with $ _SESSION

if(!isset($_SESSION["TIP"])){ header("location:../index.php?msg=1"); }else if(isset($_SESSION["TIP"])){ if($_SESSION["TIP"]!="Normal"){ header("location:../index.php?msg=3"); }else if ($_SESSION["TIP"]!="Gold") { hea...
asked on 13.12.2018 / 05:54
2
answers

Route recent projects android studio 2.3

Good morning, I had android studio 2.2 and when I opened the menu of recent projects the route of the same ones came to me at the top. As well as showing in , now when I'm in the recent menu shows the route below and how the route is very long...
asked on 23.03.2017 / 11:44
1
answer

Parse error: syntax error, unexpected (T_VARIABLE)

Help, I'm just learning PHP and HTML I can not find the error even if I already search like 1000 times The mistake that marks me is on line 11 and it is this: Parse error: syntax error, unexpected '$ Name' (T_VARIABLE) in C: \ AppServ \ w...
asked on 15.12.2018 / 01:16
2
answers

'PostListView' object has no attribute 'views'

What I want to do is that an entry has a visit counter but I can not implement it correctly. models.py class Post(models.Model): title = models.CharField(max_length=50) content = models.TextField() author = models.ForeignKey(U...
asked on 11.12.2018 / 23:02
2
answers

Download in Null

On my%% co_button I have a "Descargar excel" that leads to the following function in onclick : function downloadExcel(status) { $.ajax({ url: "http://localhost/WareHouse/reporte.php?status="+status, type: "GET", succ...
asked on 14.12.2018 / 21:44
1
answer

Can not modify header? [duplicate]

How can I solve this ?, I went up my website for the first time and I get the following error messages when viewing the site. Of course, this error is not represented locally, so I will be omitting some important rule perhaps when uploading it...
asked on 06.12.2018 / 23:05
2
answers

redirect to a servlet from an ajax passing values

Hello, what I want to do is redirect to a servlet from a jsp using ajax, since I have to send data that are not in the form, but should not be seen in the url colo are mascot, age and the token since the latter expires every so often, so it must...
asked on 14.12.2018 / 18:47
1
answer

TextView with two text colors on Android

I am receiving String frames from two different channels and I want to show them in a single TextView but with two different colors, for this I am using Html.fromHtml() to color the second frame, the color change works but f...
asked on 14.12.2018 / 18:22
1
answer

Send Array JS By ajax to PHP

I capture several inputs (the value) dynamically in the following way: <script src="https://code.jquery.com/jquery-3.3.1.min.js" integrity="sha256-FgpCb/KJQlLNfOu91ta32o/NMZxltwRo8QtmkMRdAu8=" crossorigin="anonymous"></script> &...
asked on 06.12.2018 / 21:59
1
answer

Could not find com.google.gms: google-services: 4.0.1

I am trying to add Firebase to my Android project, I follow the steps indicated in the wizard to add it to your Android application and it gives an error when it did the Gradle synchronization. I add the file google-serviles.json to my androi...
asked on 10.12.2018 / 17:57