supplied argument is not a valid MySQL result resource
直前に記述したSQLクエリに問題があるということ。
たとえば、存在しないフィールドを指定していたり・・・。
私の場合は、なぜか全角スペースが入っていて気付かないままでした・・・。(_ _。)・・・シュン
atlanta life insurance…
//セルが選択された際に呼び出される – (void)tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath *)indexPath { //選択されたセルを取得 UITableViewCell *cell = [tableView cellForRowAtIndexPath:indexPath]; //セルにチェックが付いている場合はチェックを外し、付いていない場合はチェックを付ける if (cell.accessoryType == UITableViewCellAccessoryCheckmark) { cell.accessoryType = UITableViewCellAccessoryNone; } else { cell.accessoryType = UITableViewCellAccessoryCheckmark; } }
この投稿へのコメント
コメントはまだありません。