PHP Show if hides update fields, but they get overwritten with an empty string

I have an issue with a page where some update fields are displayed depending on who is logged, for example:
<?php if ($row_Users['UserID']=="101"){ ?>
<input <?php if (!(strcmp($row_lodges['101_finalist'],"Yes"))) {echo "checked=\"checked\"";} ?> type="checkbox" name="101_finalist"  value="Yes"/>
<input type="text" class="rankfield" name="101_rank" value="<?php echo($row_lodges['101_rank']); ?>" />
<?php }  ?>
<?php if ($row_Users['UserID']=="102"){ ?>
<input <?php if (!(strcmp($row_lodges['102_finalist'],"Yes"))) {echo "checked=\"checked\"";} ?> type="checkbox" name="102_finalist"  value="Yes"/>
<input type="text" class="rankfield" name="102_rank" value="<?php echo($row_lodges['102_rank']); ?>" />
<?php }  ?>
The issue I have is that if User101 is logged in and updates fields 101_finalist and 101_rank, it overwrites 102_finalist and 102_rank with an empty string.
Is it possible to prevent each user from seeing the other fields for other users, and prevent the existing values for those other users not be overwritten?
Hope that makes sense!
Thank you.

That would mean multiple nominations when really there only needs to be one nomination per category in any given country.
It would be:
1, 345, 101, Borana Lodge, 7, 2, Yes, 1
1, 345, 102, Borana Lodge, 7, 2, Yes, 3
1, 345, 103, Borana Lodge, 7, 2, No, NULL
Instead of:
1, 345, Borana Lodge, 7, 2, Yes, 1, Yes, 3, No, NULL
Sorry, Lodge isn't in the nominations table, the list above is what is displayed on the site. Lodge gets looked up in the Ldoges table.
At the moment it works like this:
People can visit a website and vote for lodges in different categories, giving them a score out of 10 for each.
If a lodge gets a vote in a particular category an admin person creates a nomination for that lodge, in that category.
And the last bit is where judges login and tag the ones they think should be finalists.

Similar Messages

  • Elements do not show up in edge file but they do in HTML file; no errors occured

    I am a senior in college working on building a website for a fictional company for a year-long thesis graphic design project. In my class last semester, I learned how to use Edge Animate and created an 11 page website without any trouble. I had always kept the files saved to my flash drive, and kept a backup on my personal laptop as well as on my external hard drive. There was also a backup of the files on a disc that I turned into my professor in mid-December. All of these files worked fine at the time.
    In early January, I wanted to make changes to the website so I installed a trial version of Edge Animate on my laptop. When I opened any of the edge files from any of the backups, the stage was blank and the animations did not show up on the timeline. The elements of the website still show up in the Library but they are no longer arranged on the stage. When I got back to school at the end of January, I tried opening the files on the school computers and had the same problem. I asked my professor to try the file that was saved to the disc and he encountered the same issues on his computer. All of these computers are either iMacs or Macbook Pros.
    I have not recieved any error messages and did not do anything to corrupt the files or save over them. I am able to open the html files in a browser with no issues; all animations and images work fine. The only change I can think of is that Edge may have been updated over break and when I installed the trial version I installed a newer version, and for some reason the new version of the program could not properly load my project that I started on a older version in October or November of 2013.
    I am happy to upload the files but I am unsure how to do that. Please let me know if there is a way to resolve this issue, or will I have to start over?
    Thank you!

    Try to clear your preference and restart your Animate.See if that fixes your problem
    http://helpx.adobe.com/edge-animate/kb/restore-preferences-edge-animate.html
    If  that does not work see if there is a lloopback address lookup.
    Check out the correct answer in this post to fix that http://forums.adobe.com/message/6116991
    Let us know if this fixed your issue

  • I purchased two tv shows on my new ATV2, but they do not show up in iTunes on my computer. Was hoping to download to ipad2 for travel. Help!?.

    I purchased two tv shows on my new ATV2, but they do not show up in iTunes on my computer. Was hoping to download to ipad2 for travel. Help!?.

    Welcome to the Apple Community.
    Have you tried the 'Purchased' option in the top right corner of the Store window in iTunes

  • Games I bought years ago, Texas Holdem and iQuiz will no longer transfer to my iPod Classic. They show in my computer "Apps" but they won't transfer. They no longer show that they can be "Re-Downloaded" from "Previously Purchased" they don't exist there.

    Games I bought years ago, Texas Holdem and iQuiz will no longer transfer to my iPod Classic. They show in my computer "Apps" but they won't transfer. They no longer show that they can be "Re-Downloaded" from "Previously Purchased" they don't exist there.

    Have you seen this article?
    Syncing and troubleshooting iPod games
    B-rock

  • I am trying to update itunes but keep getting 'The feature you are trying to use is on a network resource that is unavailable - Click OK to try again, or enter an alternate path folder containing the installation package 'itunes64msi' in the box below'. ,

    I am trying to update itunes but keep getting 'The feature you are trying to use is on a network resource that is unavailable - Click OK to try again, or enter an alternate path folder containing the installation package 'itunes64msi' in the box below'.
    I am unable to install and also i cannot uninstall itunes, can anyone HELP PLEASSSSSSEEEEEE!!

    (1) Download the Windows Installer CleanUp utility installer file (msicuu2.exe) from the following Major Geeks page (use one of the links under the "DOWNLOAD LOCATIONS" thingy on the Major Geeks page):
    http://majorgeeks.com/download.php?det=4459
    (2) Doubleclick the msicuu2.exe file and follow the prompts to install the Windows Installer CleanUp utility. (If you're on a Windows Vista or Windows 7 system and you get a Code 800A0046 error message when doubleclicking the msicuu2.exe file, try instead right-clicking on the msicuu2.exe file and selecting "Run as administrator".)
    (3) In your Start menu click All Programs and then click Windows Install Clean Up. The Windows Installer CleanUp utility window appears, listing software that is currently installed on your computer.
    (4) In the list of programs that appears in CleanUp, select any iTunes entries and click "Remove", as per the following screenshot:
    (5) Quit out of CleanUp, restart the PC and try another iTunes install. Does it go through properly this time?

  • For the first time, I'm trying to use adobe premiere elements10 that came with my pc Windows 8. I created a single project, saved it but cannot open it. My pc shows the file I created but I get an error message that says this type file is not supported or

    For the first time, I'm trying to use adobe premiere elements 10 that came with my pc Windows 8. I created a single project, saved it but cannot open it. My pc shows the file I created but I get an error message that says this type file is not supported or the codex is not installed. As a test, I created another very small project and get the same error message, when I try to open it. Pls give me a simple answer, a refund or a phone

    mike frischenmeyer
    What computer operating system is your Premiere Elements 10 running on? And, what video card/graphics card does that computer use?
    Is this the first time you are using Premiere Elements 10 or have you worked with it before successfully? There is no easy solution until we
    know the details and troubleshoot to determined what caused the problem.
    1. Can you open a new project?
    2. After you saved/closed the problem project, did you move, delete, or rename any of the files/folder that were related to the source media
    for that project?
    3. Please review the Adobe document on troubleshooting damaged projects.
    Troubleshoot damaged projects | Adobe Premiere Elements
    4. What are the steps that you are using to reopen this saved closed project.
    a. File Menu/Open Project/Name of Project
    b. Other
    Please review and consider and then we can decide what next based on your further details and results..
    Thank you.
    ATR

  • Tried to update ITunes, but keep getting error: Service "Apple Mobile Device" failed to start. Verify that you have sufficient privileges to start system services". How do I get my ITunes back?

    Tried to update ITunes, but keep getting error: Service "Apple Mobile Device failed to start.  Verify that you have sufficient privileges to start system services."
    So how do I get my ITunes back? 

    Go to Control Panel > Add or Remove Programs (Win XP) or Programs and Features (later)
    Remove all of these items in the following order:
    iTunes
    Apple Software Update
    Apple Mobile Device Support (if this won't uninstall move on to the next item)
    Bonjour
    Apple Application Support
    Reboot, download iTunes, then reinstall, either using an account with administrative rights, or right-clicking the downloaded installer and selecting Run as Administrator.
    The uninstall and reinstall process will preserve your iTunes library and settings, but ideally you would back up the library and your other important personal documents and data on a regular basis. See this user tip for a suggested technique.
    Please note:
    Some users may need to follow all the steps in whichever of the following support documents applies to their system. These include some additional manual file and folder deletions not mentioned above.
    HT1925: Removing and Reinstalling iTunes for Windows XP
    HT1923: Removing and reinstalling iTunes for Windows Vista, Windows 7, or Windows 8
    tt2

  • I tried to update itunes but keep getting the message download corupted

    I tried to update itunes but keep getting the message download corupted.  Try later to download the update.  I have tried 5 times.  I looked for the corupted download to delete but could not find it. What is the best way to proceed?

    I'd try updating using a .dmg installer downloaded from the Apple Website:
    http://www.apple.com/itunes/download/

  • Hi, I requested an unlock from T-mobile UK 1.5M ago, and after a restore I got the message that my iphones carrier setttings were updated successfully, but never get the message that it's unlocked. What am I doing wrong?

    Hi everybody, I need help.
    I requested an unlock from T-mobile UK 1.5M ago, and after the restore I got the message that my iphones carrier setttings were updated successfully, but never get the message that it's unlocked. And it still doesn't support nay other SIM. What am I doing wrong? How do I get it unlocked?
    Thanks in advance for advice

    Did you restore the phone as a new device when you did the restore/unlock, or did you restore it from an existing backup?  I have found that when unlocking an iPhone on the AT&T network, you don't get the message that the unlock was successful if you don't restore as a new device.  The unlock still works, you just don't get the message. Perhaps it is not carrier specific for this behavior.

  • I purchased an album from itunes.2 of the track only partly downloaded,itunes have since sent me the tracks again but they wont sinc with ch

    i purchased an album from itunes,2 of the tracks only partly downloaded.itunes have since sent me the tracks again but they wont sinc with my ipod,which still has the defective tracks on it.any help would be great.

    First, I would suggest that you try restoring your iPod (although it sounds like it might be a problem with your iTunes or the files themselves).
    For info on restoring and iPod, see this:
    Restoring iPod to factory settings
    Also, check out the possible solutions in this article, and see if it helps with your issue:
    iPod doesn't play purchased content from the iTunes Store
    -Kylene

  • I am getting 'blocked plug in' messages which prevent video views and webinars.  I have updated Adobe, but still get the message. What should I do?

    I am getting 'blocked plug in' messages which prevent video views and webinars.  I have updated Adobe, but still get the message. What should I do?

    OS X 10.6.8?
    Safari 6/7
    1. System Preferences >  Flash Player > Advanced >  Delete  All
         Press the "Delete All" button
         Install Adobe Flash Player.
        http://get.adobe.com/flashplayer/
        Follow the prompts.   Quit Safari.
        Restart computer. Relaunch Safari.
    2.  Allow  Plug-ins
        Safari > Preferences > Security
        Internet Plug-ins >  "Allow  plug-ins"
        Enable it.
        Press " Manage Website Settings" button for more options.
    3. Safari > Preferences > Privacy
        Press the button “ Remove All Website Data”.

  • I've downloaded an audiobook from my local public library and have already listened to it.  It still shows up on my IPod, but when I sync with iTunes, I can't find it our delete it.  Please advise?

    I've downloaded an audiobook from my local public library and have already listened to it.  It still shows up on my IPod, but when I sync with iTunes, I can't find it our delete it.  Please advise?

    Sometimes simply restarting your iTunes, the computer and the iPad is all that it takes to correct an issue like this so try that. Quit iTunes, reboot your computer, and restart the iPad. Then try the sync again.
    Restart the iPad by holding down on the sleep button until the red slider appears and then slide to shut off. To power up hold the sleep button until the Apple logo appears and let go of the button.

  • I revive messages from everyone but one person on my phone I had my iMessage on my iPad but I turned it off and also off on my phone but I can't seem too receive messages from them but they get mine,?

    I revive messages from everyone but one person on my phone I had my iMessage on my iPad but I turned it off and also off on my phone but I can't seem too receive messages from them but they get mine,?

    They have an iOS device? If so, have them send as an SMS, not an iMessage.

  • I download songs, vedios on ipod model no. MA978ZP through computer but ipod shows nothing it shows 0-songs, 0-vedios but when i plug with the computer it shows everything but when i unplug ipod nothing shows

    i download songs, vedios on ipod model no. MA978ZP through computer but ipod shows nothing it shows 0-songs, 0-vedios but when i plug with the computer it shows everything but when i unplug ipod nothing shows

    Have You used iTunes or did you just put files on ipod disc???
    Try downloading new iTunes, and try with restore if nothing hapens!

  • Ripped a CD to iTunes, it is showing up in "My Music" but when I sync with my 80gb Classic the ripped CD is not syncing even though other changes I made are

    Ripped a CD to iTunes, it is showing up in "My Music" but when I sync with my 80gb Classic the ripped CD is not syncing even though other changes I made are
    Have checked device sync settings and it is entire music library and their is plenty of space on ipod to accommodate - have restarted both itunes and the computer and disconnected and reconnected ipod to no avail.
    Running itunes on Window machine under W8.1 and ipod software is 1.12

    Thanks planb77. Your instructions worked but I had to do a little more than you stated. I did not realize that transferring files to a new computer was not enough. When the iPod synced I was told I needed to "authorize" my new computer to get my iTunes purchases to sync to the iPod. So after the initial sync, I ejected and disconnected the iPod, went into the iTunes store, set up "home sharing" and then authorized the new computer. When that was done I reconnected the iPod and was able to sync all my books and music. The only thing I couldn't do was rename the iPod as iTunes never asked me to. Is there a way to rename it after it has been set by iTunes as "owner's iPod"?

Maybe you are looking for

  • Question: Special G/L Indicators

    Hi I am trying to extract a report where I need a logic to recognise the kind of special G/L Indicator the user enters from the selection screen. Below are the G/L indicator categories in which a user can enter an appropriate Special G/L indicator:-

  • Moving from US7ASCII to UTF8

    We are using "standard installed" database. The language only used is (US) english. We are going to add texts in different languages to the database scheme. It means that in some table we want to keep a column that is able to store text in different

  • Default user settings in cProjects

    Hi all! Does anyone know if it's possible to change the default user settings in cProjects at user creation? Basically, we would like to have the processing mode set by default as "display" instead of "change". After user creation in the backend/port

  • Error message F1000353 ID 452201

    Can someone explain what this error message means ? I cannot find it in http://www.cisco.com/en/US/docs/unified_computing/ucs/ts/faults/reference/UCSFaultsRef.pdf Thanks Walter.

  • Local Date & Time

    Hi All, Is there any possibility to disaplay Local Date & Time in script level. our current system have time zone setting as German timimgs, but one of our client in china they want to display in all their labels  with Local date & Time instead of Ge