taking the comments of users

I have problems with the comments of the user during extraction.  Here is my code:

If (mysql_fetch_array ($sql_result) == 0) {}

echo "there are currently no comments to display. Be the first to post one! « ;

} else {}

echo "< table border = 2 width=\"100% ">"; "."

echo "< tr >";

echo "< td > < b > user < /b > < table >.

< td > < b > DateTime < /b > < table >

Comment by < td > < b > < /b > < table > ';

echo "< /tr >";

While ($sql_row = mysql_fetch_array ($sql_result))

{

$comment = $sql_row ['comment'];

$date = date (would be, d M Y ├a', $sql_row ["time"]);

$user is findUserName ($sql_row ["user"]);.

$imgAvatarSrc = 'AVATAR IMAGE SOURCE';

? >

SOME HTML HERE

< br / >

< div style = "float: right;" > < div class = "replyBtn" > < a href = "#btn_comment" > answer < /a > < / div > < / div >

< / div >

< / div >

< div id = "padding" style = "padding: 15px;" > < / div >

<? PHP

echo "< tr > < td > < a href ='view_profile.php? user = $user ' target = '_blank' class = 'noUnderline' > < img src =" ". $imgAvatarSrc. «"' width = height = 65px 65px / >» $user. "< /a > < br / > < table > < /tr >";

echo "< tr > < td >. $date. "< table > ';

echo "< td >". $comment. "< table > ';

}

echo "< /tr > < / table >";

}

If there is no comment on this picture, it shows "be the first to post a comment!  I can post in the other, when there is a comment, but then in time, nothing is printed.  not sure where I'm wrong here... I tried to delete the statement "else" and fact is to return and it worked fine.

mysql_fetch_array advance the data pointer. You used it in the first statement to check if there are lines. When you use it again in your WHILE loop, it's already been moved to come. Use a while loop instead.

Tags: Dreamweaver

Similar Questions

  • In the comments of users of dashboard Page

    Hello
    My requirment is like this:
    In the dashboard user page final need to enter text or comments then analyzes the data.

    How to achieve this. What compound should I use.

    Thank you

    Hello reda,.

    I think you're looking for the OBIEE writeback feature

    Please follow the link below

    http://gerardnico.com/wiki/dat/OBIEE/write_back

    so useful please give him the post.

    Thank you

  • Long running process - the comments of users

    Hello!

    Do you know a solution on how to reviews the status of some time to the user process running? ProgressBar or something else. Would be the ability to stop the slow operation (page) of the process as well.

    A.

    Hello

    Apex provide the API APEX_PLSQL_JOB
    http://download.Oracle.com/docs/CD/E17556_01/doc/apirefs.40/e15519/apex_plsql_job.htm#BGBFGBIB

    And you can also use DBMS_SCHEDULER
    http://download.Oracle.com/docs/CD/B19306_01/AppDev.102/b14258/d_sched.htm

    Kind regards
    Jari

  • activate the comments and annotations

    Hi all

    We create postscript files and then having the Distiller convert files to PDF format.

    A user of adobe reader 9 attempts to use comments and annotations to write his comments etc...  Until recently when it was upgraded to 9, he can't add comments.

    When I create the PDF file I put no restrictions on that, because I never put safety.

    I checked the properties of Documents and the 'comments' is listed as 'not allowed '.

    This is not the forum to distill. Distiller questions are answered in the forum of Acrobat. This forum is for questions on Distiller Server. To answer your question, Reader users can't add comments unless his comments is enabled by Acrobat to a specific pdf file. It is different from that defined that see you in the properties of the pdf that allows the content creator to ban comments prohibiting the comments for users of Acrobat.

  • Is the best tool for the creation of a review with Notes/comments-Dreamweaver user site? CMS?

    Hi all

    I am really keen to develop a site of online game and have a few questions of CMS/Wordpress/Dreamweaver, I hope that you all can help me with, I thank you in advance for your patience as I am new on the development of the site.

    I think creating a review site which will involve write me about 100 customers of online game and then getting users to download their comments/suggestions, etc. Each of the reviews would be updated monthly with his stats, performance and other details. Each review contains a review of the text, the review video and various images and screenshots. Integrate user generated content will be an important factor.

    I'm trying to confuse me with all the prep work round to ensure that I have the right tools and technology, that I need to succeed. A lot of people told me I should use Wordpress because of the nature of my site, or at least a combination of Wordpress and Dreamweaver - don't know how it works exactly. I don't want to be too dependent on Wordpress just because I want to be sure my site can be customized and cultivate and select advanted more value for visitors to my site. .. .i would like to have a members area only at some point in the near future.

    Please see below for questions running in my head:

    1. do I need a separate CMS tool?... ... who may be best to consider the nature of my site?

    2. should I use Wordpress instead?... .or a combination of Wordpress and Dreamweaver? -Why should I use a combination of the two?

    3 SEO is a factor important - does make a difference?

    4. my comments will need to be updated every month, so I will try to maximize the use of models, etc. I need to create a dynamic site in Dreamweaver or a CMS that will manage?

    5. what options are best to avoid as much as hand-coding

    Thank for taking you the time to read this,... .any advice/guideance would be appreciated.

    Thank you

    Harps

    Still a bit on the comment by John, WordPress sites actually pretty well on make Google providing your site contains a keyword rich, relevant and fresh content.  WP itself will be neither help nor hinder your ranking.  It's up to you to create good content, forcing the humans will be interested.

    As for the future, I think that you are on solid ground.  WP has been around for a long time and continues to dominate the market of CMS open source.  There are 58 million sites on WordPress.com alone.  This includes not everybody who self-host WP on their own areas.  Give it whirl and see where it will lead.

    Nancy O.

  • Problem with Virtual PC: can automatically log on to the comments because the host name is added comments user name after you have entered identifying information.

    When activate the integration in Virtual PC features, then the dialog box "Enter your credentials" appears. After entering the username and password of the system cannot connect because the host name is added in front of the user name that I entered. Example: Guest user name is "Admin". The host name is "XYZ". Vrtual PC try to connect as a user "XYZ/Admin" on the comment system. After getting the error message I can manually correct the user name in the normal windows login screen on the client and open a session. However, no saved credentials, to be asked to log on again whenever I have resize the Virtual PC window. Any ideas how to solve this problem? Thank you!

    Hello

    What is the error message?

    Please try following the steps for the computer to remember the credentials and do not ask the password to open each programs:

    1. when it asks for a password, click Cancel . Without integration feature, you are allowed to log on with an account that do not have a password.
    2. set a password for your current user.
    3. click on Tools , Windows Virtual PC, choose the integration features allow.
    a. type the password, check the box ' remember my references of "and click OK to open a session.»
    b. after joining the domain, logon in XP mode with the local administrator account.

  • SS lack of creation, how to get the comments created by the user

    Dear all,

    I have a requirement to create a report for all the Absence pending requests that are applied by the user, I'm able to do all the Absence on hold using the following tables:
    Hr_Api_Transactions
    Hr_Api_Transaction_Steps

    but none of the tables above contains the "comments" that the user typed while creating the absence. The absence is not yet approved.

    Please need your help on this.

    Hello

    Absence details which are not always approved are stored in the HR_API_TRANSACTIONS table. the details are stored in XML format in the column named TRANSACTION_DOCUMENT. You will need to read the XML data for the information of comments. Please find the link below which will provide you with a reference on how to analyze the XML data stored in the HR_API_TRANSACTIONS table.

    http://www.apps2fusion.com/apps-training/apps-functional-documents/AME-sshr/436-parse-XML-hrapitransactions-sshr-HRMS-self-service

    It will be useful. Let me know if you want more details.

    Thank you
    Sanjay

  • Do I need to install the DirectX end-user Runtime?

    Today on the Microsoft.com home page, is a banner of Silverlight full-width, and a section is a link to 'Get the update of DirectX'.  By clicking on the link takes you here.

    This download says download page is for Windows 7 (and practically all other OS made in the last decade)... but do I need?  I do not understand why I would install DirectX 9. something when I'm on Windows 7, which already uses a newer version of DirectX.

    I'm a tech person.  I live and I dream of MSDN and TechNet, I know best practices and read the KB for fun... so if I'm confused about this, I can't imagine how to confuse any normal user is when they see a banner telling them to install DirectX 9.

    Help?

    If this was helpful, please vote. If it solves the problem, please click on propose as answer. Thank you!

    Shawn,
    If you have not seen this link, then when you have the time go out there and post your suggestions.  Articles in the forums are watched, but it is a more direct link to provide suggestions and comments for Windows 7.   Thanks for the comments.
    Windows 7 comments Mike - Engineer Support Microsoft Answers
    Visit our Microsoft answers feedback Forum and let us know what you think.

  • Get the comment, "an error prevents photo library to save this image.

    I tried to edit my photos in Windows Photo Gallery and it used to work until about a month.  I always and only used the Photo Gallery program, but now it won't let me to save my changes that I make to photos.  I get the comment, "an error prevents photo library to save this image.  I have read many of the questions that are similar and have done the following...

    1. click on the round of departure
       
    2 type folder options in the search box, and then click the program folder Options
       
    3. Select the view tab
       
    4. in the window of advanced settings, under hidden files and folders, select Show files and folders
       
    5. click on OK
      
    6. go to the following folder (% of user is the name of the account that has the problem):

    C:\Users\%User%\AppData\Local\Microsoft\Windows Photo Gallery

    7. copy all the files here to another location, as a back up and then delete them from the directory of the Windows Photo Gallery

    Once the files are deleted, try to start Windows Photo Gallery.

    After that, go back to folder options and select do not show the hidden files and folders

    This does not work and I don't know what else to do.  Could someone help me please!

    Thank you
    Scarlet

    I tried to edit my photos in Windows Photo Gallery and it used to work until about a month.  I always and only used the Photo Gallery program, but now it won't let me to save my changes that I make to photos.  I get the comment, "an error prevents photo library to save this image.  I have read many of the questions that are similar and have done the following...

    1. click on the round of departure
       
    2 type folder options in the search box, and then click the program folder Options
       
    3. Select the view tab
       
    4. in the window of advanced settings, under hidden files and folders, select Show files and folders
       
    5. click on OK
      
    6. go to the following folder (% of user is the name of the account that has the problem):

    C:\Users\%User%\AppData\Local\Microsoft\Windows Photo Gallery

    7. copy all the files here to another location, as a back up and then delete them from the directory of the Windows Photo Gallery

    Once the files are deleted, try to start Windows Photo Gallery.

    After that, go back to folder options and select do not show the hidden files and folders

    This does not work and I don't know what else to do.  Could someone help me please!

    Thank you
    Scarlet

    ==============================
    Here's what I have on the subject... maybe a
    suggestions will work for you...

    Good luck...

    Windows Photo Gallery...
    Cannot save modified photos...
    possible solutions...

    --

    (1) I saw reports that this problem may be related
    Kodak Easy Share software. Installation "Kodak
    Single-action Version 8 for Windows from the
    the following link may be the solution.

    Kodak Easy Share 8 software version
    http://www.kodak.com/eknec/PageQuerier.jhtml?PQ-path=130&PQ-locale=en_US&_requestid=5320
    (FWIW, it's a good idea to create a system)
    restore point before installing software or updates)

    --

    (2) I've seen reports that could clarify the next steps
    until the question... Right click the library icon and
    Choose "Run as Administrator".

    --

    (3) I copied the info from a tech forum on
    the net... I don't know if it works, but maybe it's
    worth a try:

    A. right click on Task Manager open the
    taskbar on the bottom of your screen and choosing
    The task in the menu Manager.

    B. click the tab process, along the upper part of the
    The Task Manager screen.

    C. in the process tab, select the corresponding button at the bottom
    left of the screen that says "show processes of.
    all users"and click on it. Click 'Continue' to the UAC
    the prompt that appears.

    D. the screen should turns off a moment, then
    back with much more than process listed. Click
    the "Command line" column to sort the list and
    Search:

    "C:\Program Files\Windows Media Player\wmpnetwk.exe"

    Read the description in the next section on:

    Windows Media Sharing Service reader network

    F. click on this process. Click the end «»
    Treat button"at the bottom right of the screen.
    Confirm 'End process' if necessary.

    You should now be able to save your changes to
    your photos normally. The bad news is that this
    should be performed whenever you start or restart Vista.
    And I don't know how to prevent the situation from
    in the first place of loading.

    --

    4) published by: artologik
    The solution came to me when I could not recreate
    the problem on a laptop with Vista Home.
    Everything I could compare, I noticed that the
    %Path% environment variable was not between different
    the 2 machines.

    I guess that WLPG relies on the dll must be found
    on the way to the system; When not found, it must return
    Back to ' base or incomplete "library finds it
    the default specific paths or the user. The solution for
    me has been to ensure the entire path system
    to the folders in the order appropriate.

    To fix, follow these steps:

    A. right click on the COMPUTER icon on the
    desktop and choose PROPERTIES

    B. choose ADVANCED SYSTEM SETTINGS

    C. Si you are prompted by UAC to allow, go ahead.
    and ALLOW

    D. click on ENVIRONMENT VARIABLES...

    E. in the bottom half, under SYSTEM VARIABLES,.
    Find the PATH variable and highlight the

    F. click the button CHANGE

    G. ensure that what starts with
    % SystemRoot%\system32;%SystemRoot%;

    H. ensure you that a semicolon separates each entry.

    I. click OK three times

    J. restart the computer

    K. and here.
    John Inzer - MS - MVP - digital media experience

  • I've attached a scan to an email, but it says "could not open the file C:\users\My Windows\AppData\Local\Microsoft\Windows |" Temporary Internet Files\Content.IE5\TQDLSO1A\etc, etc.

    I've attached a scan to an email, but it says "could not open the file C:\users\My Windows\AppData\Local\Microsoft\Windows |" Temporary Internet Files\Content.IE5\TQDLSO1A\etc, etc.

    I'm probably not explaining my problem fairly - well, I scanned something in - I used Nuance Paperport.  I have it attached to an email and sent to six people - including myself.  I always open the attached file to make sure that the computer has sent the right thing.  When I tried to open the attachment I got the message "cannot open the file - I have already sent you."  I think that Norton Security got rid of the file I need.  I think I will contact them.  I tried to contact Nuance - but alas, my warranty has expired, so no help there unless I want to pay for it.  If I can't have the problem solved through Norton, I will contact you again.  Thank you very much for taking the time to try to help me.  Have a great Thanksgiving action!

    ================================================
    Your explanation was nice... that was my answer that failed.

    I was hoping that you would simply copy the scan of your temporary
    Internet files folder and paste it on your desktop. Then you might
    evaluate what is the problem. I thought that trying to open
    with such a long way email could be a problem. And also... it's possible
    be a file association problem. And it could be a matter of file size.

    I understand that you care why the attachment to the email
    failure and I think you need to find what is the problem with the scan
    before fastening will be successful.

  • How to increase the number of user and a guest on laptop?

    By mistake I changed the number of user and it a how I could do so I odnt remember, but now I want to change new so that I can active comments as another user account, please let me know how to change a favor to active clients

    I now have Vista OS. before I could do guest account can be used but I dnt remember but somewhere I made a change which required the number of users on the desktop I have 1 now, I forgot

    to please tell me where this option, so I can do it again it 2 or 3 by the guest account now do either not connect you he says that this service is not available and cannot be connected

    Hi James,

    Maybe this will help:

    http://www.Vistax64.com/tutorials/93009-user-account-create.html

    http://www.Vistax64.com/tutorials/126933-guest-account-turn-off.html

    I hope this helps.

    Good luck!

  • Some clarification on the comments and evaluations

    Hi, I'm pretty new on App World, just added my first apps and I'm still learning the system. Yesterday, I looked over the section manage applications on the portal provider and noticed the comments tab, I wasn't aware of this before. One of my apps have 5 comments with a beeing denied. The strange thing is it's a positive assessment of my opinion, 4 stars and many fine words of a happy user. I wonder how this review found with a refusal and that could refused him? Could he refused because a 4 stars?

    Comments are automatically rejected if they contain words blacklisted. Check out the review for the bad language or the names of competitors such as Google or Apple.

  • NAC integrated with the comment server

    Hi all

    I met a problem that happened when I joined NAC with the comment server.

    Hope I can find the solution here!

    When I create an account to the comment server, the account will be created in the NAC as a local user.

    If I chose "time profile - start-end", the account will be created in the NAC.

    But if I chose "Time profile - first Login", the account will not be created in the NAC.

    If the guest cannot connect with this account using "time profile - first Login.

    All configurations of the document including "Radius Client and Accounting" has been correctly configured.

    But I can't yet find the solution.

    Please answer me if you know the answer. Thank you very much!!!

    Jet Li

    If Taiwan

    Hi Jet Li,

    This should be because only based on time with beginning and end is supported when you turn on the END with the NAC Appliance solution:
    http://www.Cisco.com/en/us/docs/security/NAC/guestserver/configuration_guide/20/g_guestpol.html#wp1063409

    "Cisco NAC comments Server Version 2.0 supports only start/end and creating profiles when used with Cisco NAC appliances"

    Kind regards

    Fede

    --
    If this helps you or answers to your question if it you please mark it as 'responded' or write it down, if other users can easily find it.

  • User name is not filled are in the table of user tracking.

    Hi all

    I use LMS 4.2 I activated the user tracking and I get the ip address, MAC address, host name in the table of user tracking. But enter username in the user tracking is not be filled. I even enabled get the username by guests in the areas of host NTS and ND in the acquisition of user tracking settings.

    Is there something else I have to configure in LMS in order to get the names of users in tracking user table?

    any comments will be appreciated,

    Thanks in advance,

    Rgds,

    Selva

    You must utility utility that integrates with LMS with AD to feed it with user names. Utility is a utility that allows to collect the usernames of PDCs Active Directory and Novell servers.

    To do this, you need to install utility in main domain controllers Windows and Novell servers. You can also install utility in an Active Directory server.

    For more details, see:

    http://www.Cisco.com/en/us/docs/net_mgmt/ciscoworks_lan_management_solution/4.2/user/guide/Admin/ut_du.html#wp1187865

    -Thank you

  • Not being able to use the commenting tools in Android App.

    So, I did abit of research regarding my dilemma. I wanted to just a solid understanding of my research findings.

    His my situation, my office im player capable to add Post-it notes and highlight text. When I open the same PDF file through the app Android, Im not supposed to. I get a message saying "this tool is not available because of the security settings of documents".

    My research ive concluded that it is the whole PDF encryption that is not allowing me to use the commenting tools in the Android app. Is this correct?

    Is there a way around this side just do it on my desktop/laptop computer?

    Hi Yooooda-man

    Acrobat Reader mobile products (for iOS, Android, Windows Phone) have the known limit where the changes cannot be saved in encrypted PDF documents.  As a result, users are not able to make changes (addition of comments/annotations or forms) for encrypted PDF documents.

    If you created the PDF file or if you know the password, you can remove the Security document and settings of restriction of the PDF on your desktop, so you can use it on your Android app.

    Kind regards

    Meenakshi

Maybe you are looking for