Categories
>
TinyButStrong general
>
another quick question
The forum is closed. Please use
Stack Overflow
for submitting new questions. Use tags:
tinybutstrong
,
opentbs
By:
Mankiy
Date: 2003-07-11
Time: 04:32
another quick question
i got another quick question, and this one will be quick, trust me ;)
how do i change this PHP code:
if (!isset(username)) {
echo("<input type="text" name="username" maxlength="20">")
}
into the tbs code?
By:
Skrol29
Date: 2003-07-14
Time: 18:20
Re: another quick question
Hello Mankiy,
There is no isset() possible check with TBS.
In stead you can use this ;
PHP:
if (!isset($username)) $username='' ;
HTML:
<input type="text" name="[var.username;friendb=input]" maxlength="20">
Or:
[tbs_check.usern;if username!='';begin]
<input type="text" name="[var.username]" maxlength="20"
[tbs_check.usern;end]
New message
Name:
Email:
ignore this line
Email:
-> No email accessible on Web pages.
Send replies notifications by email
Readers can contact you by Anti-Spam System
(*)
Subject:
Message:
Special part in message: enter text between [code] and [/code] tags.
(*) Anti-Spam System: A reader can ask for 3 emails a day, no more ; and the reader must have a valid email to ask for emails.
Posting in progress.
Please wait...