SDE,
Cheers, I finally got your code working. Do you understand Visual Basic code/arrays?
How do I convert the following Visual Basic code into PHP code?
Code:
Private Type details
name As String
End Type
Dim record() As details
Private Sub Form_Load()
ReDim record(0)
End Sub
Private Sub lblNext_Click()
ReDim Preserve record(UBound(record) + 1)
record(UBound(record)).name = txtName.Text
MsgBox record(1).name
End Sub
Many Thanks,