Donate Share

PHP For Applications - PHP Framework

Subscribe

disable the auto increment

You are viewing a single message from this topic. View all messages.

  1. 2009-10-13 10:48:44 UTC

    Ahh, figured some of this out:

    define('P4AAUTODB_SEQUENCES', false);

    however this caused problems on some pages - watch out for:

    I set my data sources to default with a setWhere to a zero result set as otherwise on large tables hit the performce too much.

    Becuase ot his - when you save teh row on a new item the page would go blank. So i had to do a:

    $this->source->setWhere("QuoteID = " . GetLastInsertID()) ->firstRow();

    I think this is sencable - is this the type of thing I needed to do?

    Ta

    Nick

< Previous | 1 | Next >

Add a Reply

This forum does not allow anonymous participation.

Log in to add a reply. Not registered? Create an account to participate and receive email updates when replies are posted to this topic.