Posts by RodrigoBorth • 4,475 points
58 posts
-
16
votes2
answers713
viewsQ: How to simplify the following IF in PHP?
I had to do a check to concatenate content to a variable, but I think the service got a bit "pig" and wanted to see if someone could help me simplify this check if($IdUserOnline2){ $IdsInteracoes .=…
-
10
votes4
answers5293
viewsQ: How to check if the user is online?
I am developing a project in PHP and using Mysql as a database. I only have one question about how to chat: How to know which users are online at that exact moment?
-
5
votes2
answers473
viewsQ: How do I use echo in a query with Prepared statement?
I would like to know how to use echo in a query with Prepared statement, to be able to visualize how it was mounted by php before it was executed, thus facilitating the visualization of the error at…
-
41
votes3
answers1787
viewsQ: What does the code below (written by a Cracker) do?
Today one of the company’s websites on which I work has been hacked, as have several others who are using archaic development methods and full of security holes... The person who hacked left beyond…
-
0
votes8
answers56968
viewsA: PHP echo Special character problem ("ç")
I see that you have not defined the encoding that php itself will work... add this at the top of the page that you should solve: header('Content-Type: text/html; charset=UTF-8');…
-
1
votes2
answers1136
viewsA: Carousel style with 3 slides
Well, I always use cycle2. It has always worked from IE7 to IE11 and in the browsers Opera, Safari, Chrome and Firefox... it is only with those that I work and promise to deliver the site running…
-
7
votes3
answers408
viewsQ: How to index and update a user comparison system?
I have 2 tables with user characteristics and interests in a Mysql database with innoDB Tabela Carateristica id nome sobrenome cidade estadocivil altura peso fisico pele olhos filhos querofilhos…
-
7
votes1
answer765
viewsQ: How do I search for profiles with characteristics similar to the interests of another profile on a relationship site?
I need to select several clients from a site of relationships that I am developing and sort by compatibility with the person’s profile IE, the more similar characteristics the greater the…
algorithmasked RodrigoBorth 4,475