mike12255 Posted March 9, 2009 Share Posted March 9, 2009 Bah, curse my bad vison dont mind this i figured out i forgot the "!" infront of strstr <?php if ($_POST['preview']){ $website = $_POST['website']; $name = $_POST['name']; $adress = $_POST['adress']; $email = $_POST['email']; $phone = $_POST['phone']; if (strstr($website,"http://") ){ $website = "http://" . $website; } ?> Link to comment https://forums.phpfreaks.com/topic/148551-solved-strstr-not-working/ Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.