I have the following sql
SELECT
bw_imp_step as imp_action,
FROM cm3rm1 m1 INNER JOIN cm3rm2 m2 ON m1.number=m2.number
WHERE m1.number='$id'
when this same query is returned in DbVisualizer it returns the entire string however running this same query in my php limits the string and cuts it off towards the end.
The string that is returned is roughly 5500 characters.
Below is the php script that runs the above query:
$connection = odbc_connect("Driver={SQL Server};Provider=SQLNCLI;Server=sname;Database=cbname;","username","password")
$sql = "SELECT
bw_imp_step as imp_action,
FROM cm3rm1 m1 INNER JOIN cm3rm2 m2 ON m1.number=m2.number
WHERE m1.number='$id'";
$result = odbc_exec ($connection,$sql);
if ($row = odbc_fetch_array($result){
$imp_action = $row["imp_action"];
}
When I put put $imp_action to the page or even to a file it cuts off the string at around 5000charactes.
So my question is: Does PHP limit the size of a string being returned by a resultset? I have read that php can handle a string size of 2GB and this string is not even close to that size.