Posts by Vinicius Silva • 335 points
13 posts
-
0
votes1
answer742
viewsA: VALUES (T_STRING) error in php
You are closing the string with " before the word VALUES. Testing: $sql = mysql_query("INSERT INTO cadastro ('idCad', 'Nome', 'Email', 'Senha', 'Confirmar', 'Telefone', 'Celular', 'Nascimento',…
-
0
votes1
answer1073
viewsQ: How to clean temporary sessions in Apache
I have an Apache server which is storing user sessions in files in a folder. php.ini [Session] session.save_handler = files session.save_path = "/tmp" But in the "/tmp" folder it has several files…
-
0
votes1
answer71
viewsA: Post system - Tips
Hello, you can use plugins that "mount" an editor for you. I recommend the Ckeditor (http://ckeditor.com/), take care to treat the value that the Ckeditor textarea will return, because it allows you…
-
2
votes0
answers428
viewsQ: API for obtaining quote data
I wanted to know if there is an API that provides data (json or XML) of dollar and euro quotes. And there is also one that provides the indicators of the values and rates of variation of…
-
1
votes1
answer87
viewsQ: How many weeks ago in the month with PHP
Staff need to know how to calculate how many weeks there are in a respective month with PHP. What’s the best way to do that?
phpasked Vinicius Silva 335 -
0
votes0
answers488
viewsQ: Capture Page with PHP Curl
People need to capture the source code of a page with Curl, but the jQuery of this page that generates the content and Curl does not return this data generated with jQuery, is there any way to…
-
1
votes1
answer30
viewsQ: Doubt in SQL Query
Guys I have the following table: --- mensagens id usuario_envia usuario_recebe texto data_envio But I want to list only the "Conversations", for example, I want you to list the messages grouping…
-
3
votes1
answer93
viewsQ: Problem ng-click with Angularjs
I have a button: <a ng-click="like">Gostar</a> When someone clicks on it, perform the action and it is replaced by jQuery by the other button: <a…
-
5
votes3
answers3107
viewsQ: How to send strings in the URL via JS or jQuery?
How do I turn a string, ex: minha string in minha+string to send to the URL? Can be in JS or jQuery
-
1
votes1
answer637
viewsQ: Eloquent Relationship of Laravel
I have 3 tables: -- tipos id nome -- usuarios id tipo_id nome email -- atividades id usuario_id descricao I’m using Eloquent to capture activity and activity user data: $results =…
-
-2
votes1
answer62
viewsQ: Doubt SQL query
I need to make a Mysql query in the following situation: I have two tables announcements and Likes, when the user likes an ad a record is created in the Likes table with the user id and the ad id he…
-
2
votes1
answer178
viewsA: Problems installing Composer on Windows
Try to install by the installer itself offered by Composer, Composer-Setup.exe. Good luck!
-
2
votes1
answer1042
viewsQ: Receive URL parameters by JS (jQuery)
I need to capture a parameter from a URL, for example: http://site.com/paginas/**nome-da-pagina** I need to capture the page-name with JS or jQuery.…