$abc            =$_POST['LinkWidth'];

 $link = $abc; echo $link;
if ( $link == "page" ){
die('inputbox validate[required]');

}
else if ($link =="otherlink"){
die('inputbox validate[required]');
return;
}

Welcome to Daniweb rjusman90! Just a quick pointer. It's obvious you don't speak English well but please try to explain what you need in as much details as possible. We can all gather the bits and pieces to figure out what exactly you need help with. Your title and the code snippet don't make much sense for us to be able to help you.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.