I have this function in ASP and need to convert to PHP
DATA:
cod = "01A" ou cod = "01B" ou cod = "01C"
titulo = "Novidade"
FUNCTION:
letra = right(cod,1)
str = array("A","B","C")
for i = lBound(str) to ubound(str)
if (instr(1,letr...
asked by
11.09.2017 / 10:32