Posts by César Sousa • 2,025 points
131 posts
-
0
votes1
answer802
viewsQ: How to use sessions created in php in Angularjs (Ionic)?
Good night, I’m creating an app on ionic and angularjs did the login through an ajax request to php which in turn checks and validates all through the database, the only problem I’m having and how…
-
2
votes2
answers2629
viewsQ: How to login with php and Session on Ionic?
I’m making a mobile app with ionic and I have to log in users from an external database, I need to know how to log in via php and create a session with id user’s ?
-
3
votes2
answers92
viewsQ: Problem with INNER JOIN
Good night, I’m making a inner join 3 tables but I’m not getting it to work must have some mistake that I’m not able to detect or do the right way I’m new to this inner join PHP SELECT *, (SELECT *…
-
6
votes3
answers1728
viewsQ: How to recover information from database by id on Ionic?
I have an app I’m developing on ionic and angularjs I’m using routes and I’m fetching the data from a database on a remote server, I have a page where and listed me several categories and each…
-
0
votes1
answer108
viewsQ: Problem with get data at angular js
Good night, I’m trying to get php data through Angular.js but it’s not working. When I click on the category does not open the next page where the data will be shown. PHP <?php…
-
7
votes2
answers2282
viewsQ: How to put side menus on Ionic?
I’m developing an application on ionic I’m not getting the side menus left the first page of the application and a login I’m not getting the side menus on the page home.html which is for this page…
ionicasked César Sousa 2,025 -
2
votes0
answers54
viewsQ: Why does Onsen slide menu not open?
I have a mobile application that I am developing in phonegap with Onsen and I have a page where I have the component <ons-sliding-menu> but when I click the button to open this menu does not…
-
1
votes1
answer936
viewsQ: How to store and rescue Session value through jquery?
I am developing a mobile application with intel XDK I have to do a login which will be validated by the php file that contains all validations and ultimately stores in session the values I need user…
-
0
votes1
answer170
viewsQ: How to center content on the screen depending on your mobile device with intel xdk?
Good night, I’m developing a mobile application with intel XDK with bootstrap framework, I need to know how I can put my content centered on the screen on each type of smartphone and resolution that…
-
1
votes0
answers70
viewsQ: Problem when indexing website in google
Good night, And the following I have a problem indexing my site on google I have account created on webmaster and added the site sent the sitemap.xml Just don’t index anything on Google. I have…
seoasked César Sousa 2,025 -
3
votes1
answer45
viewsQ: Why createEvent does not work in firefox
I have a div inside that div contains a select option as hidden and I have a script in jquery that when clicking the button shows to list with the option is working well in all browsers only in…
-
1
votes1
answer221
viewsQ: How to show select option with jquery?
I have a select box that looks like display:none and I want that when I click on a button appears the listing for the user to choose but I am not able to do I would like to be given some lights on…
-
1
votes0
answers204
viewsQ: Css problem since the site was changed to https
Good night, I had the whole site in HTTP now switched to HTTPS to increase the security and data of our users what is happening to me and that I’m having a css problem only on the first page in HTTP…
-
1
votes1
answer48
viewsQ: Problem with Hover rating system
Good night, And the seguite I made a rating system for my site it is working well only missing something that I am not able to do. I have the rating from 1 to 10 where it is like this 0.5, 1, 1.5,…
-
1
votes1
answer639
viewsQ: How to turn select option into option with images?
I’m doing a rating system on my website. I have a select option with a 1 to 5 vote I’m trying to turn that select option with icons to take the vote but I’m not getting it I’d like to know if it’s…
-
5
votes2
answers5494
viewsA: Foreach inside of foreach
Can’t concatenate a foreach goes as it should. <?php $select = $bd -> prepare("SELECT * FROM umatabela ORDER BY id DESC"); $select -> execute(); $Fetch = $select ->…
-
1
votes1
answer671
viewsA: Text presentation problem in php with tinymce editor
Well personal however I managed to solve I noticed that I had an editor configuration problem compared to the fonts I had added I ended up solving with the following code I leave to if someone goes…
-
2
votes1
answer671
viewsQ: Text presentation problem in php with tinymce editor
I have a manager with the HTML editor tinymce, but every time I enter information in the database, when I present it on the page through PHP the text appears without paragraphs and with some tags I…
-
0
votes1
answer45
viewsQ: Problem with checkbox
When I try to check through the database if any record exists, mark the checkbox as checked, always returns me as unchecked. <?php $result_cat = $conexao->prepare("SELECT * FROM colecoes WHERE…
-
0
votes1
answer364
viewsQ: Why does Inner Join return repeated values?
Good night, I have a query to two tables where I want the second table to return all data with the id of table 1 but only returns me a table value when there are more than one with the same id. I…
-
1
votes1
answer536
viewsQ: Why does form serialize return empty textarea value?
Good night, I’m creating a CMS based on bootstrap php and ajax what happens to me and that I can send the data of form all by method POST minus the value of the textarea always returns empty I am…
-
3
votes1
answer183
viewsQ: Problem concatenating query in PDO
Good night, I have a research that contains multiple choices for checkbox and Selects and I’m trying to concatenate query to search according to the user’s choice but I do not know what I may be…
-
0
votes1
answer58
viewsQ: Problem with query Join with 5 tables
Good night, I am trying to make a Join to 5 tables to fetch me the information so that it is not returning me some data. Code SELECT * FROM estabelecimentos INNER JOIN estabelecimentos_anexos ON…
-
-1
votes2
answers177
viewsQ: How to create an algorithm that automatically tracks certain pages of a website?
I have a platform where people can post comments write reviews and I at this point need to create an algorithm in which track me those same areas of the site if someone write a comments less…
algorithmasked César Sousa 2,025 -
1
votes3
answers354
viewsA: Problem with search and url friendly
Well I ended up solving my problem with the following regex so that you need. RewriteRule ^locais/pesquisa/([A-Za-záàâãéèêíïóôõöúçñÁÀÂÃÉÈÊÍÏÓÒÖÚÇÑ\s_-]+$)$…
-
3
votes3
answers354
viewsQ: Problem with search and url friendly
Good night, I have a search that is working well, I’m only now having a problem when someone writes a word with accent or two words separated by space, breaks my url. I’d like to know how I can…
-
2
votes1
answer88
viewsQ: Is it normal for Facebook login not to bring email from some users?
I have a Facebook login on my site, I would like to know and if it is normal some users do not bring email ?
facebookasked César Sousa 2,025 -
0
votes1
answer65
viewsQ: How to send multiple different data by email?
Good night, And the next one I have a system with 3 input and I have a jquery that adds me 3 more just in case I wanted to send more data I’m able to send by email the data of the first three but…
phpasked César Sousa 2,025 -
0
votes0
answers73
viewsQ: Problem with Facebook Sharing
I have a script javascript that shares certain posts on my page where the content that shares is automatically generated from the database. It works well, the only problem I’m having is with the…
-
0
votes2
answers161
viewsA: Add a fixed word to a friendly URL
Solution <form method="post" id="form" action=""> <div style="margin-left:150px;"> <div style="float:left; width:500px;"><input style="height: 38px;" id="valor_pesquisa"…
-
0
votes0
answers28
viewsQ: Problem with form Ubmit
Good night, I have a form search in which it redeems the amount written in input and sends to another page this value to show the results, the problem I’m having and that I use url friendly to…
phpasked César Sousa 2,025 -
2
votes2
answers161
viewsQ: Add a fixed word to a friendly URL
Good night, I’m doing some research and I’m having a problem passing the value that is written on input to another page where the result will be displayed. Example Url I’m trying to pass values…
-
2
votes0
answers101
viewsQ: Problem with multiple notifications
Good night. I have a notification system where users receive notifications from users of who they are following. For example, "João commented x posts" And it’s working when, for example, there’s…
-
0
votes0
answers450
viewsQ: Problem creating Foreign key in mysql
Well I have to relate 3 tables and I’m trying to create the foreign key I can create only that in php I have a INSERT for one of the tables that does not perform the insertion and accuses the…
-
1
votes0
answers86
viewsQ: Problem with Join query PHP
Good, And the next I have a query JOIN that makes me the query to 3 tables, that searches me in the bank all the existing notifications of the followers of the currently logged user. The problem is…
-
0
votes0
answers54
viewsQ: Notification system
Good night, I have a followers system, comments system, likes and posts and I need to create now a notification system in which the user who is logado receive notifications from users you are…
phpasked César Sousa 2,025 -
0
votes1
answer445
viewsQ: Set text in facebook API sharing
I have a script to share content on Facebook is working well just wanted to add a text that the system generates automatically by clicking the share button. Example: I wish where it says Diz algo…
-
3
votes0
answers806
viewsQ: How to separate PHP code from HTML?
Good night, And the next one I’m developing a big project and I’m almost done but now I’ve seen the need to separate the code for reasons of structure organization and greater performance because…
-
0
votes2
answers1028
viewsQ: Problem with while loop in PDO
Good people I’m here with a problem in the PDO I want to do a while but did a query and in the end only I returned a value of that while I don’t know what’s going on Code $result =…
-
4
votes2
answers1050
viewsQ: What better and safer way to program PDO?
Good personal I am now switching to PDO in php wanted your opinion to know if the method I am programming is safe and if I am programming PDO the right way because I saw on the internet several ways…
-
1
votes1
answer36
viewsQ: Problem listing all images
Good people and the following I have a photo upload that is working well, I’m just trying the problem in displaying all the photos through the for, an image always appears only needs your own to…
-
3
votes2
answers706
viewsQ: How to send array files via ajax?
Well personal I have one script that inserts the posts into the database now I’m trying to upload images along with the post I’m trying to trouble sending the array of input file to the file where I…
-
1
votes2
answers142
viewsQ: Insert time function value in mysql
I think my problem is simple, I’m trying to insert into the database through the function time() but does not insert values. Code $time = time(); mysql_query("INSERT INTO posts (user_id,…
-
9
votes1
answer25024
viewsA: How to put autocomplete in Sublime Text 3?
Well I will publish here as a response the solution of how I solved my problem, so I saw on the Internet there are many people looking for this problem. First I checked the menu…
sublime-textanswered César Sousa 2,025 -
6
votes1
answer25024
viewsQ: How to put autocomplete in Sublime Text 3?
I use Sublime Text 3 to program only autocomplete is not working for me. I have already installed plugin Sublime Intelcode but it still doesn’t work. Suggestions don’t appear when I write the code.…
sublime-textasked César Sousa 2,025 -
1
votes1
answer300
viewsQ: How to compare post time interval since it was published ?
Good staff, I have a table where I create the posts in which each and added the date it was published, now I need to create a system for the post to appear how long it was published like facebook I…
-
1
votes1
answer244
viewsA: PHP codes register but do not log in
Do there a test where you put to give include if the login is successful take the include and put echo " <script> window.location = 'iAzulVIP.php'; </script> "; See and tell the result…
-
1
votes0
answers20
viewsQ: How to compare values in the database with accents?
Good, I’m having a problem with a search I did where the user filter content by district and county, is working well when I choose district and county without accents but when I choose a district…
-
1
votes1
answer1177
viewsQ: How to place border-Radius on an iframe maps?
I have an iframe with the google map I wanted to put a border-radius to get rounded corners tried border-radius but has not given any suggestion as to how I can do this?…
-
6
votes4
answers57975
viewsA: How to clear html form fields?
You can wear it so I think that’s what you want if it’s not say document.getElementById('campo').value=''; // Limpa o campo