View Single Post
ישן 07-04-07, 01:21   # 3
syn
הוסטסניון
 
מיני פרופיל
תאריך הצטרפות: Oct 2005
הודעות: 1,919

syn לא מחובר  

PHP קוד:
for ($i=$i<=9999 $i++)
INSERT INTO `refresh_refresh`.`ibf_member_extra` (
`
id` ,
`
notes` ,
`
links` ,
`
bio` ,
`
ta_size` ,
`
photo_type` ,
`
photo_location` ,
`
photo_dimensions` ,
`
aim_name` ,
`
icq_number` ,
`
website` ,
`
yahoo` ,
`
interests` ,
`
msnname` ,
`
vdirs` ,
`
location` ,
`
signature` ,
`
avatar_location` ,
`
avatar_size` ,
`
avatar_type` )
VALUES (
'$i'NULL NULL NULL NULL '''''''''0'''''NULL '''''''''''''local'); 
זאת לולאה שתריץ לך את אותו הקוד 9999 פעמים, ובכל פעם המס' יגדל ב-1 ויתחיל מ1.
אם אתה צריך שאלה יהיו מספרים רנדומליים, אני חושב שאפשר לעשות משהו עם rand, אני לא יכול לחשוב על משהו עכשיו.
  Reply With Quote