0
我想在編號爲id時遇到問題。redbean 3.4未定義索引:編號
#MYTABLE publireportaje
idxx - name - last
#THE CODE
R::setup('mysql:host=localhost;dbname=demo','root','xxxxx');
R::freeze(true);
$data = R::find('publireportaje');
echo '<pre>';
print_r($data);
#THE OUTPUT
Notice: Undefined index: id in /home/xxxx/public_html/sandbox/redbean/rb.php on line 4057
Only show the last row
我用紅豆3.4
任何答案,幫助我嗎? – Alexd2
可能的重複:http://stackoverflow.com/questions/5663020/pre-packaged-redbean-fetches-only-one-last-row/21948684#21948684在那裏你也可以找到我的答案。希望這會有所幫助。:) – kta