i want to insert the values of two arrays into a table in a single query . Is it possible to do something like that. 

table format 

```
id | product_id | category_id | blog_id | updated_by | created_date 

```

**category \_id** 

```
Array
(
    [0] => 4
    [1] => 15
    [2] => 18
)

```

**Product\_id**

```
Array
(
    [0] => 2260 
    [1] => 1401 
)

Blog id = mysql_insert_id();

```

result 

```
id | product_id | category_id | blog_id | updated_by  
 1      2260        4               15      xyz         
 2      1401        15              15      xyz   
 3      null        18              15      xyz

```

Any suggestions for me also to improve the better insert query for this.