No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
6 Posted Topics
I have been working on a project for about a week now and today i seem to of hit a massive brick wall. whilst working on writing some data to a database, something which is usually second nature, i keep getting syntax errors. Now i have gone over the code … ![]() | |
Ok i am pretty new to php so i could be missing a simple trick here. I need to be able to read all text files within a given directory and have them appear in a combo box by file name. After searching for what seems like forever, i can … | |
I wasnt sure whether or not to put this in the database section but i think the problem is in my php code so i thought it would be best posted here. I intend to use this as a simple search script. I want to compare what the user enters … | |
Another one that i cant seem to get my head around. I i need to populate a secondary dropdown box based on what the user selected in the first one. say for instance the first dropdown box contained: Dog, Cat & Rabbit. If the user selects, Dog, i wish for … | |
Re: [QUOTE=arunpatyal1987;1348681]How to store a uploaded file in server side?[/QUOTE] This is a simple method which does not check for file types or file size. Create a form like this: [CODE] <form enctype="multipart/form-data" action="upload.php" method="POST"> choose a file: <input name="upload" type="file"/><br> <input type="submit" value="upload"/> </form> [/CODE] Create a file upload.php as … | |
This is a simple problem but one of those that eats at your brains the more you think of it. I basically want to write a a variable to a php file ( the variable name itself not the contents ). The code i have below. [CODE] // we will … |
The End.