A PHP Error was encountered

Severity: Notice

Message: Undefined variable: agent_id

Filename: controllers/vcard.php

Line Number: 44

Database Error

A Database Error Occurred

Error Number: 1064

You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'AND `id` = `link`' at line 1

SELECT title, mobile, email, telephone FROM `wp_structure`, `wp_agent` WHERE id = AND `id` = `link`