sure you can use this variable in your sql statement (don't know why you use a cookie var...)
Ajax upload, PHP script example
(60 posts) Great offers for webmaster, blogger and web developer!-
Posted 1 year ago #
-
hi
i tried to pay a bit more with ur script .. however found another problem. when i put the form inside another form both submit buttons are submitting the image not the script. is there any way i can capture the work done by the picture form so i use it with an onclick method please?
http://exigy.solutions-lab.net/admin/edit_news.php
thanks
Posted 1 year ago # -
Hi, use two forms, simple right?
Posted 1 year ago # -
can't because i need to have the image upload in the middle of the form .. or its not possible?
Posted 1 year ago # -
A form is just an element like a p, h3 or whatever. It depends on what code you use during upload.
Posted 1 year ago # -
so i can use :
<form id="main_form" action="edit.php"> method="post"> bla bla <form id="Form1" name="Form1" method="post" action=""> </form> </form>this is the code i have atm : http://pastebin.ca/1242322
thanks for prompt replies
Posted 1 year ago # -
No, you can't have nested forms. Place them side by side and style (float) them with CSS.
I see that you use tables, don't use them
Posted 1 year ago # -
hi,
i've been using your easy upload script on many occasions and i think it's great - so many thanks. However, i've just started using a new server and i come up against a problem - whilst everything is fine with the image resizing and renaming etc, it doesn't create and upload a thumbnail copy to the server. Does anyone know why this may be happening?Posted 1 year ago # -
Please start a new thread since this question doesn't belong to this thread.
Posted 1 year ago # -
Hi,
Thank you for the wonderful script. Currently I want to put the script into another form and since there is no such nested forms, I can't use "form1" anymore. So can i change the event to onclick or onchange when the user has choose their files then start passing the jquery function?
Thank you.
Posted 1 year ago #
Topic Closed
This topic has been closed to new replies.