悬赏园豆:50
[已关闭问题]
<dl><dt><span class="term"><code class="constant">PDO::PARAM_BOOL</code> (<span class="type">integer</span>) </span>
</dt><dt><span class="term"><code class="constant">PDO::PARAM_NULL</code> (<span class="type">integer</span>) </span>
</dt><dt><span class="term"><code class="constant">PDO::PARAM_INT</code> (<span class="type">integer</span>) </span>
</dt><dt><span class="term"><code class="constant">PDO::PARAM_STR</code> (<span class="type">integer</span>) </span>
</dt><dt><span class="term"><code class="constant">PDO::PARAM_LOB</code> (<span class="type">integer</span>) </span>
</dt><dt><span class="term"><code class="constant">PDO::PARAM_STMT</code> (<span class="type">integer</span>) </span>
</dt><dt><span class="term"><code class="constant">PDO::PARAM_INPUT_OUTPUT</code> (<span class="type">integer</span>) </span></dt></dl>
<p>为什么 没有 Bigint float double 怎么办,高手有办法吗。不写类型在连 sqlserver 不好用啊</p>
<p>$id=809181640442220; <br />$db = new PDO('dblib:host=xxx;dbname=xxx','xxx','xxx');<br />$stmt = $db->prepare('select * from cart where id=:id'); <br />$stmt->bindParam(':cart_id',$id); <br />$stmt->execute();<br />$result = $stmt->fetchALL();<br />print_r($result);<br /></p>
李锋
|
初学一级
|
园豆:
20
提问于:2009-07-02 10:26