This is a read-only snapshot of the ComputerCraft forums, taken in April 2020.
Kolpa's profile picture

Online Email System need Help

Started by Kolpa, 10 April 2012 - 02:48 PM
Kolpa #1
Posted 10 April 2012 - 04:48 PM
im working on an email system using this but i run into a problem that when u read the mails over php i want to get the name of the sender the entry id and the text im using a scipt to split the string that the php page throws out my problem now is that i cant read multiple emails but just one. i u want please look over the code and suggest ideas :P/>/>

PHP: http://pastebin.com/ApXVQY0k

L
UA: http://pastebin.com/hzMPMEPL
Kolpa #2
Posted 14 April 2012 - 01:58 PM
no idea ? :)/>/>
Cloudy #3
Posted 14 April 2012 - 03:35 PM
You would be much better iterating through the stuff table like so:


for i = 1, #stuff, 3
    print(stuff[i+1].."Has Sendet"..stuff[i+2].."mail ID is"..stuff[i])
end
Kolpa #4
Posted 14 April 2012 - 04:33 PM
You would be much better iterating through the stuff table like so:


for i = 1, #stuff, 3
	print(stuff[i+1].."Has Sendet"..stuff[i+2].."mail ID is"..stuff[i])
end

well thanks gonna try that out later