close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Show user specific search results

Thread began 4/19/2011 12:00 pm by tmcbinc99963 | Last modified 4/20/2011 7:34 am by Jason Byrnes | 1306 views | 3 replies |

tmcbinc99963

Show user specific search results

Need to have the user be able to select specific records to show up/not show up in search results. One user may wish to keep their phone number private, another an email address. Is this possible in DataAssist? If not, how is this done? I've look all over the web for Mysql options with no luck.

Thanks

Sign in to reply to this post

Jason ByrnesWebAssist

to be able to accomplish this will very specific planning when creating the users table and some hand coding.

you will need to determine ahead of time which columns to allow the user to mark as private.

for each column that will be c=private, you will need another column that will be used to mark it.

for example, lets use the PhoneNumber column, you would need to add PhonePrivate column. If it is to be private, set the value of that column to 1, 0 for public.

the on the results page, add an if statement to check if the PhonePrivate column equals 1:

php:
<?php if($row_RecordsetName['PhonePrivate'] != 1) echo($row_RecordsetName['PhoneNumber']); ?>
Sign in to reply to this post

tmcbinc99963

Thanks, I'll give it a try.

Sign in to reply to this post

Jason ByrnesWebAssist

you're welcome.

Sign in to reply to this post

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question

Content

rating

Layout

rating

Ease of use

rating

security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...