Oh no! Where's the JavaScript?
Your Web browser does not have JavaScript enabled or does not support JavaScript. Please enable JavaScript on your Web browser to properly view this Web site, or upgrade to a Web browser that does support JavaScript.
Not a member yet? Click here to register.
Forgot Password?

Code Question

Asked Modified Viewed 1,280 times
V
Vyper69
V
Unprecedented Times call for Unprecedented Measures
  • Senior Member, joined since
  • Contributed 551 posts on the community forums.
  • Started 146 threads in the forums
  • Started this discussions
asked
Senior Member

Ok this piece of code hides your email
echo "<td align='right' class='tbl1'>".hide_email($user_data['user_msn'])."</td>\n";
      echo "</tr>\n";


If I wanted clients to provide their Business Telephone number, but gave them the option to hide it from public view could i do this.
echo "<td align='right' class='tbl1'>".hide_businesstelephone($user_data['user_businesstelephone'])."</td>\n";
      echo "</tr>\n";


just replace hide_email with hide_businesstelephone, since businesstelephone is the name of the file.
0 replies

1 post

M
MarcusG
M
Ex Senior Dev.
  • Member, joined since
  • Contributed 182 posts on the community forums.
  • Started 5 threads in the forums
answered
Member

hide_email() is a separate function, and there is no function with the name hide_businesstelephone().

You can do it like you wrote above, but the function hide_businesstelephone() must be created too.
0 replies

Labels

None yet

Statistics

  • Views 0 views
  • Posts 1 post
  • Votes 0 votes
  • Topic users 2 members

2 participants

M
M
Ex Senior Dev.
  • Member, joined since
  • Contributed 182 posts on the community forums.
  • Started 5 threads in the forums
V
V
Unprecedented Times call for Unprecedented Measures
  • Senior Member, joined since
  • Contributed 551 posts on the community forums.
  • Started 146 threads in the forums
  • Started this discussions

Notifications

Track thread

You are not receiving notifications from this thread.

Related Questions

Not yet