Quote:
Originally Posted by noypiscripter
What is the SQL error? You would get an email with the SQL error if you've added your email in the dbtechnicalemail (or something like that) in the core config.
|
I get no email, because development server has no access to email services.
I get "That action could not be completed. Please try again, and if this occurs again please contact the system administrator and tell them how you got this message. "
This works:
PHP Code:
<?php
global $vbulletin;
$pageuser = 1 // Row exists
$result = $vbulletin->db->query_read('SELECT * FROM database.tablename WHERE userid ='.$pageuser);
$row = $vbulletin->db->fetch_array($result);