Please start any new threads on our new
site at https://forums.sqlteam.com. We've got lots of great SQL Server
experts to answer whatever question you can come up with.
Author |
Topic |
neel12285
Starting Member
1 Post |
Posted - 2009-01-06 : 13:59:07
|
HelloI am Using PHP. I want to retrieve a data from sql database.I got everything except the text type data.$strawinfo = "select CAW_Entry_Code,CAW_AGCITY,CAW_MEDIUM,CAW_CLIENT,CAW_SECONDARY,CAW_TITLE,CAW_WINNER,CAW_URL,CAW_CREDIT from Custom_Awards where CAW_id = '$caw_id' "; $rs_awinfo = odbc_exec($con,$strawinfo) or die(odbc_error()); odbc_fetch_array($rs_awinfo) or die(odbc_error()); $cw_entry_code = odbc_result($rs_awinfo,'CAW_Entry_Code'); $cw_winner = odbc_result($rs_awinfo,'CAW_WINNER'); $cw_secondary = odbc_result($rs_awinfo,'CAW_SECONDARY'); $cw_agcity = odbc_result($rs_awinfo,'CAW_AGCITY'); $cw_title = odbc_result($rs_awinfo,'CAW_TITLE'); $cw_client = odbc_result($rs_awinfo,'CAW_CLIENT'); $cw_media = odbc_result($rs_awinfo,'CAW_MEDIUM'); $cw_credits = odbc_result($rs_awinfo,'CAW_CREDIT'); //CAW_CREDIT is Text Type when i am displaying "$cw_credits" it don't show anything.Any body has a solution for thisregards Neel |
|
tkizer
Almighty SQL Goddess
38200 Posts |
|
|
|
|
|
|