/    Sign up×
Community /Pin to ProfileBookmark

How to show error with function

I would like to publish error different as code for validation.

How to do this code and echo it in variable or better with function?

Code which has to be shown (echo) is:

[code=php]
<div class=clear></div>
<div class=”fl_left” style=”padding-left: 40px;”>
<ul class=”error”>’;
// echo (isset($error)) ? $error : “&nbsp;”;
echo ‘<li>This <b>E-mail</b> is already in use. Please try another e-mail.</li>’;
echo ‘</ul>
</div>
<div class=clear></div>’;
[/code]

to post a comment
PHP

2 Comments(s)

Copy linkTweet thisAlerts:
@CrazyGazNov 20.2006 — Sorry, I don't really understand what you are trying to do, could you try to explain?
Copy linkTweet thisAlerts:
@toplisekauthorNov 21.2006 — I have IF sentence and would like to perform my above error design code on particular place of web site.

How to do it with function?
×

Success!

Help @toplisek spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 6.2,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @meenaratha,
tipped: article
amount: 1000 SATS,

tipper: @meenaratha,
tipped: article
amount: 1000 SATS,

tipper: @AriseFacilitySolutions09,
tipped: article
amount: 1000 SATS,
)...