frm
Well-known member
Trying to set a default user field for all current members as it just reverts to 'no selection' and there must be one selected for something to work.
I tried this (MySQL), but getting errors:
Dunno how to create a standalone PHP file for a
I tried this (MySQL), but getting errors:
Code:
CREATE PROCEDURE insertproc()
BEGIN
DECLARE i int DEFAULT 0;
WHILE i <= 10000 DO
INSERT INTO xf_user_field_value VALUES(i, 'fieldName', '1');
SET i = i + 1;
END WHILE;
END//
Dunno how to create a standalone PHP file for a
for
loop using config.php but will go down that route next...