Thodoris wrote:
I was wondering if anyone sees something I am bypassing:
I have this sample code that works in another server:
query($sql);
// die(var_dump($sthr));
$res = $sthr->fetch(PDO::FETCH_ASSOC);
return $res['Name'];
}
try {
$dbh = new PDO('mysql:host=localhost;port=330
Thodoris wrote:
I was wondering if anyone sees something I am bypassing:
I have this sample code that works in another server:
query($sql);
// die(var_dump($sthr));
$res = $sthr->fetch(PDO::FETCH_ASSOC);
return $res['Name'];
}
try {
$dbh = new PDO('mysql:host=localhost;port=3
Thodoris wrote:
I was wondering if anyone sees something I am bypassing:
I have this sample code that works in another server:
query($sql);
// die(var_dump($sthr));
$res = $sthr->fetch(PDO::FETCH_ASSOC);
return $res['Name'];
}
try {
$dbh = new PDO('mysql:host=localhost;port=3306;
3 matches
Mail list logo