numero = 112693
interpreted = N
texte = 276------=_Part_790054_638894832.1459037016952Content-Type: text/plain; charset=UTF-8Content-Transfer-Encoding: 7bitI have a form where photo filenames are entered by a client.I want to take these photo filenames and their width and height and write them to a db when this form is submitted.form html looks like this... (usually no more than 6 photos at a time....)I'd like to write the filename, width and height into a db like thisFilename width height2-13-16-1.jpg 240 3902-13-16-2.jpg 285 2952-25-16-1.jpg 300 240But since photo1name, photo2name, photo3name would all be in written to the same field "filename" like in the example db above, would I use [loop] to do this? I have a feeling [loop] wouldn't work and what I'm trying to do isn't going to be possible ..Trying something like this just writes the first [__photo1name] and not the 2nd one, pretty much as I'd expect it to behave.[append db=photos.db]&filename=[__photo1name]&filename=[__photo2name][/append]------=_Part_790054_638894832.1459037016952Content-Type: text/html; charset=UTF-8Content-Transfer-Encoding: quoted-printable
I have a form where photo filenames are entered by a cl=ient.
I wan=t to take these photo filenames and their width and height and write them t=o a db when this form is submitted.
form html looks like this... (usually no more than 6 photos at =a time....)
I'd like to write the filename, width and height i=nto a db like this
Filename=09width=09height
2-13-16-1.jpg=09240==09390
2-13-16-2.jpg=09285=09295
2-25-16-1.jpg=09300=09240
=
But= since photo1name, photo2name, photo3name would all be in written to the sa=me field "filename" like in the example db above, would I use [loop] to do =this? I have a feeling [loop] wouldn't work and what I'm trying to do isn't= going to be possible ..
=div>
Trying something like this just writes the first [__photo1name] and not th=e 2nd one, pretty much as I'd expect it to behave.
---------------------------------------------------------This message is sent to you because you are subscribed tothe mailing list .To unsubscribe, E-mail to: archives: http://mail.webdna.us/list/talk@webdna.usBug Reporting: support@webdna.us------=_Part_790054_638894832.1459037016952--.
Associated Messages, from the most recent to the oldest:
[WebDNA] formdata written into a db (Rich Kwas 2016)
276------=_Part_790054_638894832.1459037016952Content-Type: text/plain; charset=UTF-8Content-Transfer-Encoding: 7bitI have a form where photo filenames are entered by a client.I want to take these photo filenames and their width and height and write them to a db when this form is submitted.form html looks like this... (usually no more than 6 photos at a time....)I'd like to write the filename, width and height into a db like thisFilename width height2-13-16-1.jpg 240 3902-13-16-2.jpg 285 2952-25-16-1.jpg 300 240But since photo1name, photo2name, photo3name would all be in written to the same field "filename" like in the example db above, would I use [loop] to do this? I have a feeling [loop] wouldn't work and what I'm trying to do isn't going to be possible ..Trying something like this just writes the first [__photo1name] and not the 2nd one, pretty much as I'd expect it to behave.[append db=photos.db]&filename=[__photo1name]&filename=[__photo2name][/append]------=_Part_790054_638894832.1459037016952Content-Type: text/html; charset=UTF-8Content-Transfer-Encoding: quoted-printable
I have a form where photo filenames are entered by a cl=ient.
I wan=t to take these photo filenames and their width and height and write them t=o a db when this form is submitted.
form html looks like this... (usually no more than 6 photos at =a time....)
I'd like to write the filename, width and height i=nto a db like this
Filename=09width=09height
2-13-16-1.jpg=09240==09390
2-13-16-2.jpg=09285=09295
2-25-16-1.jpg=09300=09240
=
But= since photo1name, photo2name, photo3name would all be in written to the sa=me field "filename" like in the example db above, would I use [loop] to do =this? I have a feeling [loop] wouldn't work and what I'm trying to do isn't= going to be possible ..
=div>
Trying something like this just writes the first [__photo1name] and not th=e 2nd one, pretty much as I'd expect it to behave.
---------------------------------------------------------This message is sent to you because you are subscribed tothe mailing list .To unsubscribe, E-mail to: archives: http://mail.webdna.us/list/talk@webdna.usBug Reporting: support@webdna.us------=_Part_790054_638894832.1459037016952--.
Rich Kwas
The WebDNA community talk-list is the best place to get some help: several hundred extremely proficient programmers with an excellent knowledge of WebDNA and an excellent spirit will deliver all the tips and tricks you can imagine...