Your post has many typo's.
You have two pc's each with a vga port.
You have one monitor with a vga port.
You want to switch the monitor between pc's.
This should work.
https://www.amazon.com/gp/product/B0000AQR8F/ref=ask_ql_qh_dp_hza
hi,i hav a doubt,will this work ,pls guide me
i have a monitor with only one vga port, a graphic card vth cga hdmi port, i want to use my laptop which has one vga port,to the same monitor . simply i want to use both laptop and pc vth the same monitor but not at same time once.
pls guide me will this work.
male to 2 female vga split each connected to male to male vga which will connect one to pc graphic port and one laptop vga port .
male ------2 female vga --------male - male --female --wil this work,thanks

Chowhound
Comic Vine
GameFAQs
GameSpot
Giant Bomb
TechRepublic