Jump to content

php use of text delimiters


htmlDVWeaver

Recommended Posts

Any 1 can help me with this.

 

I do have a set of data in a PDF file in the form of (first name: xxxxx, Last name: xxxx, Address, xxxx, and a lot of other info that I really don’t need..(The PDF file is about 500 sets of these fields).)  The problem here is the fields are in the following format:

 

First Name: xxxxxx

Xxxxxx (which is the last name without the label ‘Last Name:’)

Address: xxxxxxx

 

I want to write a script to go over the PDF file and extract only the three first fields (First. name, Last name and Address) to put them in a mySQL database.

 

Thanks a lot

 

Link to comment
https://forums.phpfreaks.com/topic/48136-php-use-of-text-delimiters/
Share on other sites

Is your problem abstractring the dta from the pdf file, or in separating individual items from the abstracted data? If it's the latter, then you might want to look at explode() to turn each line into an array and just abstract the array elements you want.

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.