typo, should be htmlentities
see http://de2.php.net/htmlentities
Adding Hyperlinks to scraped data
Moderator: General Moderators
-
phpflixnewbie
- Forum Contributor
- Posts: 132
- Joined: Fri Nov 17, 2006 11:46 am
That error was just caused by a spelling mistake in your code (htmlentitites should be htmlentities).
This code adds the relevant html links to each title which is great.
However, i have now lost the zebra-style formatting of my table. Also the hyperlinked titles are in much smaller font and they are slightly misaligned with the rest of the data in the table, they are two cells higher than the other data, which means the top two cells actually 'leak' out of the top of the table.
This code adds the relevant html links to each title which is great.
However, i have now lost the zebra-style formatting of my table. Also the hyperlinked titles are in much smaller font and they are slightly misaligned with the rest of the data in the table, they are two cells higher than the other data, which means the top two cells actually 'leak' out of the top of the table.
-
phpflixnewbie
- Forum Contributor
- Posts: 132
- Joined: Fri Nov 17, 2006 11:46 am
-
phpflixnewbie
- Forum Contributor
- Posts: 132
- Joined: Fri Nov 17, 2006 11:46 am
-
phpflixnewbie
- Forum Contributor
- Posts: 132
- Joined: Fri Nov 17, 2006 11:46 am
After getting the htmlentities working and having the a URL id automatically assigned to each title which is pulled from the database, how do i actually use the assigned id.
ie. if the assigned URL/id is http://www.domainname/detail.php?id=49
What filename do i give to the php file which has the details for id 49?
Its obviously a common problem, but as a beginner I need a hand please.
ie. if the assigned URL/id is http://www.domainname/detail.php?id=49
What filename do i give to the php file which has the details for id 49?
Its obviously a common problem, but as a beginner I need a hand please.