twinytwo Posted December 7, 2011 Share Posted December 7, 2011 Hey guys, Im running wamp, after do a few scripts to save to a mysql database... and pulling my hair iut trying to figure why it isnt working i realised that the php files.. saved with a .php extension where showing up as text file.. the icon i mean.... is this correct? Im 100% that my php code and my database is set up correctly, but when i hit the "submit" button nothing happens..... Quote Link to comment Share on other sites More sharing options...
Pikachu2000 Posted December 7, 2011 Share Posted December 7, 2011 Are you using notepad as your editor by chance? Quote Link to comment Share on other sites More sharing options...
twinytwo Posted December 7, 2011 Author Share Posted December 7, 2011 Are you using notepad as your editor by chance? im using dreamweaver... i dont think the problem is with the file though.. just getting them to execute. Quote Link to comment Share on other sites More sharing options...
scootstah Posted December 8, 2011 Share Posted December 8, 2011 If you are using Windows Vista/7, do this: browse to the folder your PHP file is in. Press alt to open the window menu, then go to Tools > Folder Options. Click the View tab, and uncheck "hide known file extensions". Click apply. Now is your PHP file "file.php" or "file.php.txt"? Quote Link to comment Share on other sites More sharing options...
Web Developer Posted December 13, 2011 Share Posted December 13, 2011 Just try to track your PHP Errors, through .htaccess file Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.