What is this code?

If you're a new user of AppGini, feel free to ask general usage questions, or look for answers here.
Post Reply
dlee
Veteran Member
Posts: 137
Joined: 2020-04-14 00:21
Location: South Carolina, USA
Contact:

What is this code?

Post by dlee » 2023-02-03 23:11

I found this code in a templateDV.html file and I would love to know what it is as I have never seen this syntax before. Can someone expalin it to me please?
TD

Code: Select all

<%%UPLOADFILE(photo)%%>

User avatar
jsetzer
AppGini Super Hero
AppGini Super Hero
Posts: 1806
Joined: 2018-07-06 06:03
Location: Kiel, Germany
Contact:

Re: What is this code?

Post by jsetzer » 2023-02-04 02:56

It is just a placeholder, not code. The placeholder will be replaced by HTML code and Javascript code at runtime.

In this case there is a database column photo which has been configured as file-upload field. AppGini will replace that string by a file input control + necessary scripts.
Kind regards,
<js />

My AppGini Blog:
https://appgini.bizzworxx.de/blog

You can help us helping you:
Please always put code fragments inside [code]...[/code] blocks for better readability

AppGini 24.10 Revision 1579 + all AppGini Helper tools

User avatar
D Oliveira
AppGini Super Hero
AppGini Super Hero
Posts: 347
Joined: 2018-03-04 09:30
Location: Orlando, FL

Re: What is this code?

Post by D Oliveira » 2023-02-04 04:40

by the way just quick fyi, if you paste sample code in chat gpt you can get answers like these instantly, most questions we get from new users here in the forums now can be answered leveraging AI :)

dlee
Veteran Member
Posts: 137
Joined: 2020-04-14 00:21
Location: South Carolina, USA
Contact:

Re: What is this code?

Post by dlee » 2023-02-04 06:44

What is "chat gpt" ?

User avatar
D Oliveira
AppGini Super Hero
AppGini Super Hero
Posts: 347
Joined: 2018-03-04 09:30
Location: Orlando, FL

Re: What is this code?

Post by D Oliveira » 2023-02-04 07:41


Post Reply