The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
|
#1
|
||||
|
||||
![]()
OK, so you'll have to run through all those 40'000 things with a while() clause:
while($stock = $DB_site->fetch_array($upstck)) { Then, parse the string: fetch the first two chars: $firstpart = substr($stock[stock],0,2); fetch the last part $lastpart = substr($stock[stock],4); and put it all together: $wholething = $firstpart . "00" . $lastpart; all together that makes this: PHP Code:
now I don't know what you want to do with the data, but do whatever you want where I placed the comment. |
![]() |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|