Ambiera Forum

Discussions, Help and Support.

Ambiera Forum > RocketCake
Reading vaules from db to input-field

rambrand
Registered User
Quote
2019-04-26 15:38:44

Hi,

how i can store values from a db to the value property of the text edit field.

I read the values with php from a mysql, store them in php vars. So if i write HTML-Code with a normal html editor i could place the php var into the HTML-Code. But in RC i can´t set the var in the value property.

Any hint for me?

Thanks,
Markus


rambrand
Registered User
Quote
2019-04-26 16:47:00

Ok seems I´ve to build the HTML-Code via PHP-Code.

echo '<input type="text" value="'.$_SESSION["user_vorname"].'" title="" name="TextEdit2" id="edit_9954efc" ><br>'

Works for me.

Bye
Markus


Create reply:


Posted by: (you are not logged in)


Enter the missing letter in: "Internatio?al" (you are not logged in)


Text:

 

  

Possible Codes


Feature Code
Link [url] www.example.com [/url]
Bold [b]bold text[/b]
Image [img]http://www.example.com/image.jpg[/img]
Quote [quote]quoted text[/quote]
Code [code]source code[/code]

Emoticons


   






Copyright© Ambiera e.U. all rights reserved.
Privacy Policy | Terms and Conditions | Imprint | Contact