Posts by Laura • 571 points
8 posts
-
11
votes1
answer363
viewsQ: Custom global variable
In that question here, I explained that I was afraid to save my settings in the variable $GLOBALS because she turns my settings into global values, then the guy answered me that there was no…
-
11
votes1
answer323
viewsQ: What are build cache structures?
In that question where I wanted to know if I should store settings in a global variable $GLOBALS, I got some very good answers, and there was one that talked about something that I hadn’t even…
-
6
votes5
answers1793
views -
11
votes3
answers1027
viewsQ: $GLOBALS to store settings?
Hi, last week I asked what was the best way to store and read settings for a website, and I got two answers. Of those two answers, there was a lot of speculation, but none really explained why I…
-
2
votes2
answers519
viewsA: How do I pass dynamic parameters in a preparedStatment?
I solved the problem by reordering the values, and calling the function bind_param through another function called cal_user_func_array as @rray said up there, I just couldn’t quite understand it, so…
-
4
votes2
answers95
viewsA: Form recording the same data
Hi. Changes the field telefone for UNIQUE. So you will no longer have duplicate data. ADD UNIQUE INDEX `telefone` Whenever you try to register another mobile phone with the same digits, the query…
-
3
votes2
answers519
viewsQ: How do I pass dynamic parameters in a preparedStatment?
I have a function to enter data into the database dynamically. It worked well when running the query directly using only the function query(), once I started to restructure the function to work with…
-
8
votes2
answers671
viewsQ: What is the way to store and read settings?
Imagining that I have a small site, and this site stores and returns information from the database. Currently I see many people storing the data of login for Mysql or paths in PHP variables or…