What an idiot. i have now figured out my own problem due to the error code.
Lesson learned!
User Profile
Collapse
-
Really really sorry about this.
MySQL Error: The used SELECT statements have a different number of columns
i just read another post from a moderator and said to not forget to add the error handling.
:(Leave a comment:
-
hey, all i get is a blank screen.
I have data in the tables, and i can display 1 table at a time if i take out [php]UNION (SELECT * FROM truck)[/php] etc..
I just don't get it.Leave a comment:
-
Database Table Display Problem
Hello everyone,
I have been trying to solve this problem for too long now, and was hoping someone maybe able to help me solve my problem.
I basically want to be able to UNION 2 tables together and order the contents by date and time.
i.e.
Honda Civic 01/02/08 10:45am (From database CARS)
Chevy Cobalt 01/02/08 11:45am (From database CARS)
Ford F-50 02/03/08 1:05pm (From database... -
Thanks guys, i will use everything you have told me and try and make it work.
Appreciate it! :)Leave a comment:
-
I dont mind hard coding in an input field for each one, i would actually prefer to.
I just dont know how to make it work.
Sorry to anyone who is offended by me asking for help!
i am still new to php, but if it makes any difference i am reading and learning all i can.
i am sure in the near future i will also be helping others with there problems.Leave a comment:
-
unfortunately that didn't help to much (maybe its just me)
I know some basic php and some advanced php. Although i am very patchy as i am self taught.
I would be truly grateful to anyone who can resolve my problem.
Here is the form.html page
...Code:<form enctype="multipart/form-data" action="add.php" method="post"> Upload Image: <input name="userfile"
Leave a comment:
-
-
Multiple Image Upload to Server & Name to Databse
What I need in a nutshell is a form that will allow me to upload multiple pictures (say 5) to my server while at the same time saving the names to the MySQL database. I would prefer it if the image name was automatically changed with MD5 or similar before upload and entry, but is not so important as I can add at a later date. I also would like (on the same form) the ability to add other information. i.e. make, model, etc.
Example:...
No activity results to display
Show More
Leave a comment: