madhmad Posted April 20, 2011 Share Posted April 20, 2011 i hav dis checkstatus.php page where the user enters a random number sms to him..but after tht he shud be able to see d reply given by admin ..d problem over here is d user only views half of the field called 'anything' (my database is named "proj") heres my code jst cant understand why dis is happening...pls help [attachment deleted by admin] Quote Link to comment https://forums.phpfreaks.com/topic/234265-why-echo-is-not-echoin-d-entire-field-in-database/ Share on other sites More sharing options...
Muddy_Funster Posted April 20, 2011 Share Posted April 20, 2011 could you post thorough information regarding your table structure please? Quote Link to comment https://forums.phpfreaks.com/topic/234265-why-echo-is-not-echoin-d-entire-field-in-database/#findComment-1204028 Share on other sites More sharing options...
madhmad Posted April 20, 2011 Author Share Posted April 20, 2011 see the table i gav u is named form user enters all d details bout d complaint lik complaint id,description ,date,place etc n d admin posts reply after seeing every row n d admin reply goes in 'anything' column of form table now whenever d user wishes to view admin reply on his complaint he submits random number given to him during registering for complaint in checkstatus.php now checkstatus_process.php shud echo d reply given by admin(ie d content of 'anything' field) but whts happening is ..it is nt displaying d entire field..u can try for urself by passing 9423 in checkstatus.php tell me if u still dont get me..thanks Quote Link to comment https://forums.phpfreaks.com/topic/234265-why-echo-is-not-echoin-d-entire-field-in-database/#findComment-1204037 Share on other sites More sharing options...
Muddy_Funster Posted April 20, 2011 Share Posted April 20, 2011 I don't think that varchar fields over (255) are fully supported. if you want your field to be 300 characters long then change the field type to TEXT (300) and see how you get on. Quote Link to comment https://forums.phpfreaks.com/topic/234265-why-echo-is-not-echoin-d-entire-field-in-database/#findComment-1204039 Share on other sites More sharing options...
madhmad Posted April 20, 2011 Author Share Posted April 20, 2011 nope its nt working....hw shud i solve dis problem now..d admin wil always give a long reply Quote Link to comment https://forums.phpfreaks.com/topic/234265-why-echo-is-not-echoin-d-entire-field-in-database/#findComment-1204041 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.