Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if(0<= $price && $price <= 10) {
- $data = array(
- 'book_title' => $title,
- 'book_summary' => $summary,
- 'book_author_id' => $authorid,
- 'book_price' => $price,
- 'book_created' => time()
- );
- } else {
- $price_error = 'You did not enter a valid price.';
- }
Add Comment
Please, Sign In to add comment