recordset - Image-Text - problem
Posted 30 September 2004 - 12:40 PM
DB name is Sample.
Table name is Contacts.
Fields are IDNo, LastName, FirstName, Address and Photo (a mediumblob type)
I tried showing the following records in DW style (drag-drop-fields-from-recordset) then it only shows the text fields (IDNo, LastName, FirstName and Address) but not the Photo column (in which DW doesnt support this feature it says...)
I override DW code and the photo shows...the real problem is the text wont show when I load the photo first and when the text is shown first, the photo wont load. Any solution with this simple problem (i think its simple for those who are guru...) thanks in advance and it will be a great help for a begginner like me. Thanks again.
Posted 05 October 2004 - 11:29 AM
$query = "select Photo, Lastname, Firstname from contacts where Id=5";
$result = @MYSQL_QUERY($query);
$data = @MYSQL_RESULT($result,0,"Photo");
$LName = @MYSQL_RESULT($result,0,"Lastname");
$FName = @MYSQL_RESULT($result,0,"Firstname");
Posted 05 October 2004 - 11:30 AM
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users