NameSilo

Sscanf problem help

SpaceshipSpaceship
Watch

Coreycyberdesig

Established Member
Impact
0
Hey I need some help with this

here is the code

$rawhtml = $curl_result;
$chistart = strpos($rawhtml, 'Mfr. Model:');
$chidata = substr($rawhtml, $chistart, strlen('Mfr. Model:') + 100);
list($mfrid) = sscanf($chidata, '<strong>Mfr. Model:</strong></td><td>*</td>');
print $mfrid ;
something is not working where the star is there is a mfr number that is comprised of both upercase and lowercase letters and numbers what should i use to get it to retur the results
i just need it to search for this string
<strong>Mfr. Model:</strong></td><td></td>
and return whatever is between the begining and ending td
 
0
•••
The views expressed on this page by users and staff are their own, not those of NamePros.
Unstoppable Domains โ€” AI StorefrontUnstoppable Domains โ€” AI Storefront
Hi,

Try in this way
Code:
list($mfrid) = sscanf($chidata, '<strong>Mfr. Model:</strong></td><td>%s</td>');

Regards
 
0
•••
thanks

Thank you i couldent find the damn thing for it
 
0
•••
Appraise.net
Escrow.com
Spaceship
Rexus Domain
CryptoExchange.com
Catchy
CatchDoms
NameMaxi - Your Domain Has Buyers
DomDB
  • The sidebar remains visible by scrolling at a speed relative to the pageโ€™s height.
Back