Autor Beitrag
Philipp_Reitter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 430



BeitragVerfasst: Di 21.08.07 18:05 
hi...

ich hab ein admin scrip und ich habs zwar schafft dass ich user editieren kann
aber soll er mir den namen , email ect in die felder im html reinschreiben!
so wie bei jedem ordentlichen register script. z.b. wo die felder (biss auf password) auch ausgefüllt bleiben!

mfg
Philipp
GTA-Place
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
EE-Regisseur
Beiträge: 5248
Erhaltene Danke: 2

WIN XP, IE 7, FF 2.0
Delphi 7, Lazarus
BeitragVerfasst: Di 21.08.07 18:14 
Dann gib die Variable für den Namen und Co. direkt im Value-Attribut des Input-Tags aus (echo()).

_________________
"Wer Ego-Shooter Killerspiele nennt, muss konsequenterweise jeden Horrorstreifen als Killerfilm bezeichnen." (Zeit.de)
Philipp_Reitter Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 430



BeitragVerfasst: Di 21.08.07 18:35 
aber ich mach kein echo(form + textfelder + der reste der HP)
geht das ned anders?
BenBE
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 8721
Erhaltene Danke: 191

Win95, Win98SE, Win2K, WinXP
D1S, D3S, D4S, D5E, D6E, D7E, D9PE, D10E, D12P, DXEP, L0.9\FPC2.0
BeitragVerfasst: Di 21.08.07 18:37 
Kannst Du mal bitte in Kurzform deinen Quelltext skizzieren?

_________________
Anyone who is capable of being elected president should on no account be allowed to do the job.
Ich code EdgeMonkey - In dubio pro Setting.
Philipp_Reitter Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 430



BeitragVerfasst: Di 21.08.07 18:39 
ich schreib an ner art CMS da iwll ich jetzt ned 500 zeilen PHP posten...

das ich kein echo verwende kommt davon da ich Smarty verwende!
eine Template engine... wers kennt...
GTA-Place
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
EE-Regisseur
Beiträge: 5248
Erhaltene Danke: 2

WIN XP, IE 7, FF 2.0
Delphi 7, Lazarus
BeitragVerfasst: Di 21.08.07 19:56 
Okay, wäre sinnvoll gewesen, wenn du das früher erwähnt hättest. Dann z.B.:
ausblenden Quelltext
1:
<input type="text" value="{$smarty-variable-mit-text}" />					

Und der Smarty-Variable eben vorher den Text zuweisen.

_________________
"Wer Ego-Shooter Killerspiele nennt, muss konsequenterweise jeden Horrorstreifen als Killerfilm bezeichnen." (Zeit.de)
Philipp_Reitter Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 430



BeitragVerfasst: Di 21.08.07 22:30 
ah... ok das war zu simpel um drauf zu kommen ^^
lol danke!!!!!!!

mfg
Philipp

ps: man da hätt ich auch draufkommen können!