This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<? | |
die("untestet code - do not use without checking"); | |
//connect | |
$mysqli = new mysqli("localhost", "user", "password", "database"); | |
//install assoc field first | |
$result = $mysqli->query("SHOW TABLES LIKE 'sym_fields_association';"); | |
if ($result->num_rows == 0) |