Ask a Question related to Dreamweaver AppDev, Design and Development.
-
stuckinbed #1
Hiding Text when MySQL has no data value
When a user signs into my website, he/she sees the following personalized
information:
Name: sample user
Birthdate: 01/01/2005
Favorite color: brown
Favorite TV show: Desperate Housewives
Say my user did NOT specify his/her favorite color in my database. It would
look like this:
Name: sample user
Birthdate: 01/01/2005
Favorite color:
Favorite TV show: Desperate Housewives
Why should the text "favorite color" still be there? It is not necessary. I
want it to look like this:
Name: sample user
Birthdate: 01/01/2004
Favorite TV show: Desperate Housewives
sorry if i'm an idiot, but i can't figure this out! thanks a lot for any help
:-)
stuckinbed Guest
-
MySQL data into dynamic text field without escapesequence!!
Hi guys, I got a music portfolio web site running PHP, MySQL and Flash. There's a page showing all the artists my client worked for and when you... -
Showing/hiding text through javascript
There's a text where the user wants to show only when he hit a hotkey (F9 or Ctrl+j an example) but this PDF file will be created by VBA... -
MySQL 5.0, FULL-TEXT Indexing and Search Arabic Data, Unicode
Hello All, This post is essentially a reply a previous post/thread here on this mailing.database.myodbc group titled: MySQL 4.0, FULL-TEXT... -
hiding fields in a record that have no data
I am assuming this is pretty simple to do, but I am not sure how. I have an asp intranet site I am building. I have a one admin form that allows... -
Hiding data from screen scrapers and bots
I was hoping someone here would know something about screen scrapers, spiders, bots. Perhaps it's a stupid question, but here it goes anyway... ... -
Alexandro Colorado #2
Re: Hiding Text when MySQL has no data value
On Thu, 24 Mar 2005 04:59:19 +0000 (UTC), stuckinbed
<webforumsuser@macromedia.com> wrote:
Usually you display this on a conditional regarding his session variable.> When a user signs into my website, he/she sees the following personalized
> information:
>
> Name: sample user
> Birthdate: 01/01/2005
> Favorite color: brown
> Favorite TV show: Desperate Housewives
>
>
> Say my user did NOT specify his/her favorite color in my database. It
> would
> look like this:
>
> Name: sample user
> Birthdate: 01/01/2005
> Favorite color:
> Favorite TV show: Desperate Housewives
>
>
> Why should the text "favorite color" still be there? It is not
> necessary. I
> want it to look like this:
>
> Name: sample user
> Birthdate: 01/01/2004
> Favorite TV show: Desperate Housewives
>
> sorry if i'm an idiot, but i can't figure this out! thanks a lot for
> any help
> :-)
>
>
>
In other words it will only display if he is inside a session. I guess the
best way would be to include the whole paragraph under the conditional,
unless you really want the unidentified user to be labled as a 'sample
user' :D
--
Alexandro Colorado
------------------------------
Support Engineer
InterAKT Online
[url]http://www.interaktonline.com[/url]
Tel: 40(21) 312.5312
Alexandro Colorado Guest
-
stuckinbed #3
Re: Hiding Text when MySQL has no data value
thanks for your reply...
the "sample user" is just a example of a record in the mysql database
i'd like to know how to hide "favorite color" if the user never specified
his/her favorite color in the database in the first place
thanks!
stuckinbed Guest



Reply With Quote

