karliky Posted February 1, 2009 Share Posted February 1, 2009 I'm writing an html file with a simple table. for each 5 rows i want to write "<tr>" tag. how can i do this? that's the code: for $i = 0 to ubound($nombre) -1 ;If 5 .... 10 ... 15 ... 20...25....FileWrite($archivofinal,'<tr>') FileWrite($archivofinal,'<td><img src="thum/FOTO_49.jpg"></td>') ;If 5 .... 10 ... 15 ... 20...25....FileWrite($archivofinal,'</tr>') next Thanks for the info Link to comment Share on other sites More sharing options...
AoRaToS Posted February 1, 2009 Share Posted February 1, 2009 try this for $i = 0 to ubound($nombre) -1 for $y = 0 to 500 Step 5 FileWrite($archivofinal,'<td><img src="thum/FOTO_49.jpg"></td>') next next s!mpL3 LAN Messenger Current version 2.9.9.1 [04/07/2019] s!mpL3 LAN Messenger.zip s!mpL3 Link to comment Share on other sites More sharing options...
jvanegmond Posted February 1, 2009 Share Posted February 1, 2009 for $i = 0 to ubound($nombre) -1 If Mod($i, 5) == 0 Then FileWrite($archivofinal,'<tr>') FileWrite($archivofinal,'<td><img src="thum/FOTO_49.jpg"></td>') If Mod($i, 5) == 0 Then FileWrite($archivofinal,'</tr>') next github.com/jvanegmond Link to comment Share on other sites More sharing options...
avery Posted February 1, 2009 Share Posted February 1, 2009 I'm writing an html file with a simple table. for each 5 rows i want to write "<tr>" tag. how can i do this? that's the code: for $i = 0 to ubound($nombre) -1 ;If 5 .... 10 ... 15 ... 20...25....FileWrite($archivofinal,'<tr>') FileWrite($archivofinal,'<td><img src="thum/FOTO_49.jpg"></td>') ;If 5 .... 10 ... 15 ... 20...25....FileWrite($archivofinal,'</tr>') nextoÝ÷ Ù8ZK¢»az)ߣú®¢×¡û^Ú-)à²Ø^àÁ¬ºØ^è¬jÈhµ«bµ«¢+Ù½ÈÀÌØí¤ôÀѼսչ ÀÌØí¹½µÉ¤´Ä($ÀÌØí}¤¬ôÄ(%¥ ÀÌØí}¤ôôÔ¤Q¡¸($%¥±]É¥Ñ ÀÌØíÉ¡¥Ù½¥¹°°Ìäì±ÐíÑÈÐìÌäì¤(%¹%($(%¥±]É¥Ñ ÀÌØíÉ¡¥Ù½¥¹°°Ìäì±ÐíÑÐì±Ðí¥µÍÉôÅÕ½ÐíÑ¡Õ´½=Q=|Ð乩ÁÅÕ½ÐìÐì±Ðì½ÑÐìÌäì¤($(%¥ ÀÌØí}¤ôôÔ¤Q¡¸($%¥±]É¥Ñ ÀÌØíÉ¡¥Ù½¥¹°°Ìäì¼±ÐíÑÈÐìÌäì¤($$ÀÌØí}¤ôÀ(%¹%)¹áÐ www.abox.orgAvery HowellVisit My AutoIt Websitehttp://www.abox.org Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now