converting mysql to mysqli
am just trying to convert some old code to mysqli (attached txt files) and pretty sure that the repeat regions on lines 6 and 22 are causing the page not to work but unsure what I should be replacing them with
Cheers
Jamie