All Questions
3
questions
-1
votes
2
answers
180
views
pdo variable is undefined in mysql function
I have an index.php which is like:
require_once("../resources/config.php");
require_once(LIBRARY_PATH . "/mysql.php");
...
if(checkIfMailExists($email)) {
$error = true;
$errormsg = "This e-...
-2
votes
1
answer
175
views
PHP profile columns visibility + MySQL
I'm seeking for the best method to implement the column visibility in users profile.
Imagine the following scenario:
Name : stackoverflow | [checkbox] visible = 1
Address: New York | [...
4
votes
3
answers
4k
views
mysql - How to pass main query value into a join in subquery
I have the following query (well... the part that bugs me of it):
SELECT DISTINCT `serv`.`id`, `serv`.`name`, `prj`.`id` AS `idProject`, `prj`.`name` AS `projectName`, `units`.`id` AS `idUnit`,
`...