debasisdas 580 Posting Genius Featured Poster

622

debasisdas 580 Posting Genius Featured Poster

626

debasisdas 580 Posting Genius Featured Poster

628

debasisdas 580 Posting Genius Featured Poster

632

debasisdas 580 Posting Genius Featured Poster

636

debasisdas 580 Posting Genius Featured Poster

640

debasisdas 580 Posting Genius Featured Poster

644

debasisdas 580 Posting Genius Featured Poster

648

debasisdas 580 Posting Genius Featured Poster

650

debasisdas 580 Posting Genius Featured Poster

654

debasisdas 580 Posting Genius Featured Poster

658

debasisdas 580 Posting Genius Featured Poster

666

debasisdas 580 Posting Genius Featured Poster

670

debasisdas 580 Posting Genius Featured Poster

676

debasisdas 580 Posting Genius Featured Poster

680

debasisdas 580 Posting Genius Featured Poster

680

debasisdas 580 Posting Genius Featured Poster

684

debasisdas 580 Posting Genius Featured Poster

688

debasisdas 580 Posting Genius Featured Poster

692

debasisdas 580 Posting Genius Featured Poster

696

debasisdas 580 Posting Genius Featured Poster

700

debasisdas 580 Posting Genius Featured Poster

702

debasisdas 580 Posting Genius Featured Poster

706

debasisdas 580 Posting Genius Featured Poster

708

debasisdas 580 Posting Genius Featured Poster

714

debasisdas 580 Posting Genius Featured Poster

718

debasisdas 580 Posting Genius Featured Poster

now the QF picture is getting clearer.

debasisdas 580 Posting Genius Featured Poster

726

debasisdas 580 Posting Genius Featured Poster

732

debasisdas 580 Posting Genius Featured Poster

This is what is called a two-way communication.

Happy to help you.

debasisdas 580 Posting Genius Featured Poster

648

debasisdas 580 Posting Genius Featured Poster

try this

SELECT posts.*, channels.channel 
FROM posts 
INNER JOIN channels 
ON posts.channel_id = channels.id 
WHERE  (posts.id=? OR posts.id=? )   ----better to use IN clause here.
ORDER BY posts.published DESC
debasisdas 580 Posting Genius Featured Poster

is franchise_name getting inserted properly into the table.

debasisdas 580 Posting Genius Featured Poster

648

read the rules

debasisdas 580 Posting Genius Featured Poster

6 5 2

debasisdas 580 Posting Genius Featured Poster

652

debasisdas 580 Posting Genius Featured Poster

what about this

1. book (book_id,book)name,author_id,....)
2. author (author_id,author_name,.......)

Composite key on book (book_id, author_id)

debasisdas 580 Posting Genius Featured Poster

what about this

1. book (book_id,book)name,author_id,....)
2. author (author_id,author_name,.......)

Composite key on book (book_id, author_id)

debasisdas 580 Posting Genius Featured Poster

but you are inserting a record , right ?

Is the record getting stored in database ?

Please check in backend .

debasisdas 580 Posting Genius Featured Poster

Yes, you can connect to any database from PHP if you know the connection method and have the proper drivers.

debasisdas 580 Posting Genius Featured Poster

yes , that is exactly how developers trouble shoot. :)

debasisdas 580 Posting Genius Featured Poster

Kindly post what have you tried so far from your side and also post the proper table structure for analysis.

debasisdas 580 Posting Genius Featured Poster

ok, tell me what happens when you execute this ?

getting any error ?

debasisdas 580 Posting Genius Featured Poster

You need to use ALTER VIEW.

Please read this for details.

debasisdas 580 Posting Genius Featured Poster

Why you need to create the following tasbles ?

1. bookauthor
2. bookreview
3. bookreference

why not have reference in the book table itself.

debasisdas 580 Posting Genius Featured Poster

Why not create insert script using some tool (best in EXCEL) and insert the parent record and then the dependent child record.

debasisdas 580 Posting Genius Featured Poster

Ireland proved they really deserved to be part of this World cup.

debasisdas 580 Posting Genius Featured Poster

What is the problem , i don't see anything wrong with the SQL.

debasisdas 580 Posting Genius Featured Poster

I am not aware of how you do things in PHP, but i was expecting some INSERT statement as part of SQL.

or are you calling any stored object like a prodecure ?

debasisdas 580 Posting Genius Featured Poster

Kindly post the SQL part only.

I am not sure from this code where is the INSERT statement .