Jump to content

Want to split an HTML Section into vars


synted

Recommended Posts

I have grabbed a Webpage (HTML) from a remote site that contains name surname and stuff like that.... How can i put each one (result) into a var?

The page is like that:
[code]<html>
<head>
<title>Title Here.</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body>
Name:*********<br>
Surname:***************<br>
Number:***********<br>
Date:*************<br>
Date2:*************<br>
Phone:*************<br>
Phone:*************<br>
<br>
</body>
</html>
[/code]
(Also what to do with the two phones? The name is the same but they might be different data)
Link to comment
https://forums.phpfreaks.com/topic/21965-want-to-split-an-html-section-into-vars/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.