Skip to content

Instantly share code, notes, and snippets.

@kmeinke
kmeinke / gist:53d28d3bdbf1832c1954
Last active August 29, 2015 14:11
update reference_link to association_field #untestet - psuedo code#
<?
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)