Jump to content




Online Email System need Help

networking computer lua

3 replies to this topic

#1 Kolpa

  • New Members
  • 260 posts
  • LocationGermany

Posted 10 April 2012 - 03: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

#2 Kolpa

  • New Members
  • 260 posts
  • LocationGermany

Posted 14 April 2012 - 12:58 PM

no idea ? :)/>

#3 Cloudy

    Ex-Developer

  • Members
  • 2,543 posts

Posted 14 April 2012 - 02: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


#4 Kolpa

  • New Members
  • 260 posts
  • LocationGermany

Posted 14 April 2012 - 03:33 PM

View PostCloudy, on 14 April 2012 - 02:35 PM, said:

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





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users