Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
Unknown Quality Score

No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.

0 Endorsements
~353 People Reached
Favorite Forums
Favorite Tags

2 Posted Topics

Member Avatar for dandixon

Assign $row['pic'] to a variable. Then put it in an image tag. $pic = $row['pic']; echo "<img src = '$pic' >"; Also, just putting the name of the file, instead of the full path, in the database might work better. In which case, you would put the relative path in …

Member Avatar for dandixon
0
303
Member Avatar for KimAnderson

You want to only get the first 5 items from an array, but if there only exists less than 5 items in the array, you still want to get them all. The result would be an array variable containing at most 5 items. Is there a single PHP function that …

Member Avatar for pritaeas
0
50

The End.