Couldn't enter the Charactristic in query due to invalid value

Couldn't enter the Charactristic in query due to invalid value because SID numeric generation error. Unable to upload the data.

Hi,
As Sunil Said, you can repair your Master data Infoobject in RSRV. It's better to reload your Master Data again. Are you running your Query by Key date? If yes, Key Date works only on Time Dependent Master Data.
REgards,
Suman

Similar Messages

  • "Message from Webpage (error) There was an error in the browser while setting properties into the page HTML, possibly due to invalid URLs or other values. Please try again or use different property values."

    I created a site column at the root of my site and I have publishing turned on.  I selected the Hyperlink with formatting and constraints for publishing.
    I went to my subsite and added the column.  The request was to have "Open in new tab" for their hyperlinks.  I was able to get the column to be added and yesterday we added items without a problem. 
    The problem arose when, today, a user told me that he could not edit the hyperlink.  He has modify / delete permissions on this list.
    He would edit the item, in a custom list, and click on the address "click to add a new hyperlink" and then he would get the error below after succesfully putting in the Selected URL (http://www.xxxxxx.com), Open
    Link in New Window checkbox, the Display Text, and Tooltip:
    "Message from Webpage  There was an error in the browser while setting properties into the page HTML, possibly due to invalid URLs or other values. Please try again or use different property values."
    We are on IE 9.0.8.1112 x86, Windows 7 SP1 Enterprise Edition x64
    The farm is running SharePoint 2010 SP2 Enterprise Edition August 2013 CU Mark 2, 14.0.7106.5002
    and I saw in another post, below with someone who had a similar problem and the IISreset fixed it, as did this problem.  I wonder if this is resolved in the latest updated CU of SharePoint, the April 2014 CU?
    Summary from this link below: Comment out, below, in AssetPickers.js
    //callbackThis.VerifyAnchorElement(HtmlElement, Config);
    perform IISReset
    This is referenced in the item below:
    http://social.technet.microsoft.com/Forums/en-US/d51a3899-e8ea-475e-89e9-770db550c06e/message-from-webpage-error-there-was-an-error-in-the-browser-while-setting?forum=sharepointgeneralprevious
    TThThis is possibly the same information that I saw, possibly from the above link as reference.
    http://seanshares.com/post/69022029652/having-problems-with-sharepoint-publishing-links-after
    Again, if I update my SharePoint 2010 farm to April 2014 CU is this going to resolve the issue I have?
    I don't mind changing the JS file, however I'd like to know / see if there is anything official regarding this instead of my having to change files.
    Thank you!
    Matt

    We had the same issue after applying the SP2 & August CU. we open the case with MSFT and get the same resolution as you mentioned.
    I blog about this issue and having the office reference.
    Later MSFT release the Hotfix for this on December 10, 2013 which i am 100% positive should be part of future CUs.
    So if you apply the April CU then you will be fine.
    Please remember to mark your question as answered &Vote helpful,if this solves/helps your problem. ****************************************************************************************** Thanks -WS MCITP(SharePoint 2010, 2013) Blog: http://wscheema.com/blog

  • Hi I'm having trouble downloading Adobe Creative Suite 6 teacher student addition on my mac i have downloaded it and i received a redemption coad and a serial number but when i entered the serial number it says its invalid... Please help!

    Hi I'm having trouble downloading Adobe Creative Suite 6 teacher student addition on my mac i have downloaded it and i received a redemption coad and a serial number but when i entered the serial number it says its invalid... Please help!

    i know extremely frustrating that there is no one to contact!
    i got my friend to help not sure if your having the same problem but i had to download stuffit expander from the app store to expand the zip files that you initially download you should be able to open them and enter serial number from there
    don't know if that helps theres no where that tells you how to do that so its extremely frustrating..
    hope that can be of some help.

  • I have recently bought Photoshop Elements. It has a redemption code on a seperate card but when I enter the code it says it's invalid.

    I have recently bought Photoshop Elements. It has a redemption code on a separate card but when I enter the code it says it's invalid.

    Where are you entering the redemption code?
    Try Redemption Code Help

  • Urgent! The field jnlp codebase has an invalid value: $$codebase

    Hello All,
    1. I am trying to run a java web start application, i am using tomcat 5.5.20 server. I am using the JnlpDownloadServlet to use the $$codebase and $$name to dynimically code the path to the jar's and the jnlp file.
    Here is what i have done:
    Here i have a JnlpDownloadServlet in a seperate folder called (D:/apache-tomcat-5.5.20/webapps/online/server1/WEB-INF/lib/jnlp-servlet.jar).
    2. Now i am placing my .jnlp and my application jar's in a seperate folder called *"client1"* (D:/apache-tomcat-5.5.20/webapps/online/client1/)
    I need to have the client1 and server1 folders and i have to map the servlet to the jnlp file, because i want to keep my jars's and the servlet in a seperate folders.
    3. I have the web.xml file in WEB-INF folder.
    4. web.xml:
    <?xml version="1.0" encoding="UTF-8"?>
    <web-app>
    <servlet>
    <servlet-name> JnlpDownloadServlet</servlet-name>
    <servlet-class>jnlp.sample.servlet.JnlpDownloadServlet</servlet-class>
    </servlet>
    <servlet-mapping>
    <servlet-name>JnlpDownloadServlet</servlet-name>
    *<url-pattern>../client1/*.jnlp</url-pattern>* *<!-- /* I am having problem here, i think */ -->*
    </servlet-mapping>
    </web-app>
    Myapp.jnlp:
    <?xml version="1.0" encoding="utf-8"?>
    <jnlp spec="1.0+"
    codebase="$$codebase"
    href="$$name">
    <information>
    </information>
    <resources>
    <j2se version="1.6+"/>
    <jar href="$$codebase/XXXXXX.jar" main="true" download="eager"/>
         <jar href="$$codebase/XXXX.jar" download="eager"/>
         <jar href="$$codebase/XXXXX.jar" download="eager"/>
    <nativelib href="$$codebase/XXX.jar" />
    </resources>
    </jnlp>
    While i run the application. i get the following error:
    Error occured when trying to run a Java web start application
    BadFieldException[ The field <jnlp>codebase has an invalid value: $$codebase,$$codebase]
         at com.sun.javaws.jnl.XMLUtils.getAttributeURL(Unknown Source)
         at com.sun.javaws.jnl.XMLUtils.getAttributeURL(Unknown Source)
         at com.sun.javaws.jnl.XMLFormat.parse(Unknown Source)
         at com.sun.javaws.jnl.LaunchDescFactory.buildDescriptor(Unknown Source)
         at com.sun.javaws.jnl.LaunchDescFactory.buildDescriptor(Unknown Source)
         at com.sun.javaws.jnl.LaunchDescFactory.buildDescriptor(Unknown Source)
         at com.sun.javaws.Main.launchApp(Unknown Source)
         at com.sun.javaws.Main.continueInSecureThread(Unknown Source)
         at com.sun.javaws.Main$1.run(Unknown Source)
         at java.lang.Thread.run(Unknown Source)

    yes. I am sure.
    The JnlpDownloadServlet takes the URL address we enter in the browser as codebase and the variable $$codebase is assigned the value which is taken dynamically.
    From Developer's Guide:
    Processing of JNLP files
    The JnlpDownloadServlet will automatically macro-expand certain template values in a JNLP file and replace them with URLs that are specific to the current request. This will enable JNLP files to be written and deployed without containing hard-coded URLs.
    Macro expansions
    The servlet will automatically substitute certain fixed keys in the JNLP file (prefixed with $$) with URLs that are based on the current request. The keys are designed so location-independent WAR files can be created and deployed into a Web container.
    The table below shows the 4 keys that the servlet will look for and substitute:
    Pattern Value
    $$codebase Complete URL for request, except name of JNLP file
         $$name Name of the JNLP file
    $$context Base URL for the Web Archive
         $$site     Web site address without the WAR context portion               
    For example: Consider the example1 WAR file. Lets assume that it has been deployed at the following location: http://www.mytool.com/tool. Thus, a request to http://www.mytool.com/tool/app/launch.jnlp will return the JNLP file. The values of the macro-expanded keys would be:
    $$codebase = http://www.mytool.com/tool/app/
    $$name = launch.jnlp
    $$context = http://www.mytool.com/tool/
    $$site = http://www.mytool.com/
    The servlet does not validate the format of the JNLP file nor that the XML is well-formed. The value substitution is purely textual.

  • OPA Launch error due to invalid value in Siebel regex error

    Hi All,
    Consider OPA launch from Siebel if there are 1000 attribute's on global and out of these 1000's 300 have a regular expression check if for one of the attribute in Siebel database value does not fit into reg-ex criteria OPA launch will fail. but logs won't reveal for which value OPA launch has failed. How will I be able to find out the Column Public name or field which has invalid value in OPA.
    Thanks,
    Kunal Sharma

    Hi Frank,
    Thanks for reply the limitaion is not that system validates the data befor picking up from Siebel. That is a good thing we need to ensure we get proper data whenevr we try to launch form but the greatest limitation is that it does not provide the public name due to which form launch is failing even in the application logs. If it would have provided the public name atleast person could have gone and rectified the data to fit in regex criteria. I am here pointing out the limitation of logging not that Why application is checking data.
    I am happy that application validates it but I am not happy that application does not tell me why it is failing.
    Thanks,
    However you can generate the reprt of attributes containing regex by copying properties file changing the extention to xml opening it in excel and using filter to see what attributes have regex after that you can make corresponding SQL queries to point out which column contains incorrect data and maybe you can ven clean it using SQL.
    Kunal Sharma
    < telephone number removed by moderator >
    (that's bad form - you'll get spam calls for all Eternity)

  • Error for EC-CS : The dependent char. partner unit contains invalid value?

    Hi,
    We are using PC consolidation and while doing rollup for p1/2011 facing following error:
    The dependent char. partner unit contains invalid partner unit. We are facing this error only for one newly created GL/Fs item and that to for some company codes/consol groups.
    The intercompany transaction created in FI is not rolling to EC-CS thru CXCD rollup.

    Hi,
    We need to maintain the default values in transaction - CXOAA.
    The issue is solved.
    Njoy
    Siva

  • When I try to register with apple the ssn for my account it says invalid ssn and i also tried entering the other number and it says invalid what do i do now or did I get ripped off when i bought the ipod touch..???

    when I try to register the ipod touch with apple.com to get support it keeps telling me the SN is invalid..I tried turning it on and connecting to Wi-Fi but it tells me unable to connect please try again later...on the top of the ipod touch where the wi-fi signal and the battery signal is right in the middle of those too there is the lock sign... what does this mean and why cant i connect to any thing or even get it to work????????? OR DID I JUST GET RIPPED OFF WHEN I BOUGHT IT?????????????????

    Contact Apple.  800-275-2273 in the U.S.A. and I think Canada.

  • Help with query to exclude invalid values

    creating a one time program. it needs to exclude bogus credit card numbers. all credit card numbers will be in varchar(20) fields.
    1) cannot be null
    2) cannot be empty
    3) cannot be all zeros
    4) must be >= 16 digits and < 19, after removing leading zeros
    5) leading significant digit cannot be 9 or 8
    Having trouble with #3.
    IF OBJECT_ID('tempdb..#tt')IS NOT NULL
    DROP TABLE #tt;
    select * into #tt from
    (select '09876543211234567' union all -- bad card number. not to start with significant 9 or 8
    select '923523425' union all -- bad card number. not to start with significant 9 or 8 and < 16
    select 'ab' union all -- bad
    select null union all -- bad
    select '' union all -- bad
    select '000000000000000000' union all -- bad - numeric value cannot be 0
    select '00543210987654321' union all -- bad < 16
    select '109876543210987654321' union all -- bad > 19
    select '06543210987654321' union all -- good
    select '76543210987654321' -- good
    ) d (cccard)
    select * from #tt
    WHERE cccard IS NOT NULL and ltrim(rtrim(cccard)) <> '' and cccard not like '%[^0-9]%'
    and len(substring(cccard, patindex('%[^0]%',cccard), len(cccard))) > 15
    and len(substring(cccard, patindex('%[^0]%',cccard), len(cccard))) < 20
    and left(substring(cccard, patindex('%[^0]%',cccard), len(cccard)), 1) not in ('9','8')

    Try this
    select * from #tt
    WHERE cccard IS NOT NULL and ltrim(rtrim(cccard)) <> '' and cccard not like '%[^0-9]%'
    and len(substring(cccard, patindex('%[^0]%',cccard), len(cccard))) > 15
    and len(substring(cccard, patindex('%[^0]%',cccard), len(cccard))) < 20
    and left(substring(cccard, patindex('%[^0]%',cccard), len(cccard)), 1) not in ('9','8')
    and PATINDEX('%[^0 ]%',cccard)>0
    --Prashanth

  • What's the exact difference between "Query Def. Filter Value Selection" and

    Hi Gurus,
    what's the exact difference between "Query Def. Filter Value Selection" and "Query Execution Filter Val. Selectn" in info-object's "Business explorer" tab?
    I found out that if my info-object A has a input-ready variable in a query,after the query running,in  the selection screen,my info-object A's F4 value is follow the setting of "Query Execution Filter Val. Selectn",as the setting of "Query Def. Filter Value Selection" I tried every diff setting, it won't effect my query anyway.
    so:
    1.what's the exact difference between "Query Def. Filter Value Selection" and "Query Execution Filter Val. Selectn" in info-object's "Business explorer" tab?
    2.how they effect query's presentation?
    I searched forum,didn't find the answer what I want.
    Thanks everyone.

    Hi Denny,
    I will try to explain it again.
    Query Def. Filter Value Selection : Let say the value is set to "Only Values in Infoprovider"
    Lets take an example infoobject - 0MATERIAL (Material)
    Total material records in material Master = 1000 (master Data table /BI0/PMATERIAL)
    You create a query on top of an Infoprovider using Material.
    Total unique materials in Infoprovider= 500.
    Now when you are in design mode in Query Designer, and you try to restrict Material by few materials (for e.g. 1, 2, and 3), for this you right click on material and select Restrict, the pop-up opens with list of materials, this list is all those 500 materials which are in the infoprovider, because the setting is  "Only Values in Infoprovider". Which means then when you are trying to restrict a characterstic in query definition the list of values displayed for restricition is derived from Infoprovider.
    Query Execution Filter Value Selection  - I think you already know what it is , its the read mode for F4 help selection.
    I hope this helps.
    Thanks
    CK

  • Installation failing due to invalid packages

    During installation of Oracle 10G designer the repository installation fails due to invalid packages. When I examine the packages they are failing to compile based on dependencies on dbms_lock. I am running against a fresh installation of 11g on the database. I verified that the package exists and a public synonym has been created but I cannot see the package from any other user aside from sys. (system cannot see the package).
    Is there anyway I can open up sys.dbms_lock to allow it to be used in compiling these objects?

    How did you create the repository?
    Did you follow the steps of the installation guide?
    In this guide you find the folloiwing statements:
    grant execute on dbms_rls to repos_owner;
    grant execute on dbms_lock to repos_owner;
    grant execute on dbms_pipe to repos_owner;
    grant create table to repos_owner;
    grant create view to repos_owner;
    grant create procedure to repos_owner;
    grant create synonym to repos_owner;
    grant create sequence to repos_owner;
    grant select on sys.v_$nls_parameters to repos_owner with grant option;
    grant select on sys.v_$parameter to repos_owner;
    grant select on dba_rollback_segs to repos_owner;
    grant select on dba_segments to repos_owner;
    grant create any synonym to repos_owner;
    grant drop any synonym to repos_owner;
    In the statement you will see that the dbms_lock package is granted to the repos_owner. (repos_owner is the username of the repository owner, if you installed under a different user use that username)

  • Paramerterized Interactive Reports - is there a quick solution to stop the query from executing when entering the page prior to user clicking go.

    Example
    Currently, when the user enters the page the interactive report runs (without the user hitting "go")and - indicates no data found because one of the "parameterized" fields is required and the sql is not setup for nulls.
    I'm Looking for a way to not perform a query  at all -------until the user hits go for the first time on the page - then each time they re-enter the page in the same session it would be ok to auto submit the query.
    I believe I can setup a hidden item and check on my interactive report E1 not null.  Then create a "computation" on "after submission" that would set this value to a value - say 1.
    I can seem to be able to get this to work however.
    In my interactive report - I'm wondering what "condition type" should I be using.  Any thoughts would be greatly appreciated.

    In this case I just have 2 parameters.  The goal is to allow the user to "pre filter" BEFORE rendering the interactive due to the possible size of the report.  This pre fliter could be by say- order type or region or branch etc.
    Right now, I believe its all one region - see below.
    My first attempt, I put a branch on the after submit on the go button and then put a condition on the interactive report.  This worked but caused a looping issue when trying to select a column on the interactive report itself.  My guess is , because that drop down was also using that same go button.
    Anyway, please advise how to best  "pre filter" prior to rendering an interactive report.  Should I have two seperate regions or can I use one region.  Any assistance would be greatly appreciated. 
    Order Parameters 2 
    Before Header 
    Branches
    Computations
    Processes
    After Header 
    Computations
    Processes
    Regions
    Before Regions 
    Computations
    Processes
    Regions 
    Body (3) 
    Search 
    Items 
    P6_TEXT
    P6_ITEM_NUMBER
    Region Buttons  P6_GO
    Order Type &P6_TEXT 
    Report Columns 
    Order Type
    Operating Unit
    Order Number
    Line Number
    Item Number
    Invoice Week
    Items 
    P6_NAME
    P6_ITEM_NUMBER_ALT
    Position 01  Breadcrumbs
    After Regions 
    Computations
    Processes

  • HT1212 So my phone is messed up and you can't do anything with the screen...in order for me to sink it to back up i have to enter the passcode because it had a lock on it...and i can't due to it being messed up...is there any way around this...

    So my phone is messed up and you can't do anything with the screen...in order for me to sink it to back up i have to enter the passcode because it had a lock on it...and i can't due to it being messed up...is there any way around this...

    See Here  >  http://support.apple.com/kb/HT1808
    You may need to try this More than Once...  Be sure to Follow ALL the Steps...
    Take your time... Pay particular attention to Steps 3 and 4.
    Make sure you have the Current Version of iTunes Installed on your computer
    iTunes free download from www.itunes.com/download
    After you have Recovered your Device...
    Re-Sync your Content or Restore from the most recent Backup...
    Restore from Backup  >  http://support.apple.com/kb/ht1766

  • Time Machine couldn't complete the backup due to a network problem

    Firstly apologies for the long post, I've been bottling these problems up and could now use some expert advice.
    I have a MacPro (10.6.3) with four internal drives (320GB system/apps. + 3x 750GB data, images etc) and a MacBook Pro (10.6.6) with a 320GB internal. With so much accumulated data (Mac user since SE FDHD) I wanted a reliable means to backup all my projects, books, papers, research, images etc. I had several bad experiences using Iomega drives (Ultramax and Storcentre) which were not very Mac compatible and shifted over to a 10TB LaCie 5Big Network 2 which is promoted as Time Machine compatible. Set up Time Machine (with a few hiccups) in Sept 2010 and it ran perfectly, backing up both main computers until March 2011. I have now experienced a string of problems backing up the MacPro, some of which have been resolved speaking to people, some by checking forums and some by using my own noddle to figure it out. The latest error message I am getting is "Time Machine couldn't complete the backup due to a network problem. Make sure your computer and the backup disc are on the same network, and that the backup disc is turned on. Then try again to back up."
    The circumstances of this are as follows: TM seems to be trying to completely back up everything already backed up from previous months so I am using the "exclude" option to do this in manageable chunks (5.54TB of 7.99TB is available so there is a lot of stuff on there, hence my reticence to erase and start again). I started a backup last night which said it was 242GB and when I came back hours later (I estimate 30GB and hour or 500MB a minute) it has failed with the error message above. I asked it to back up again and it said it now had 191GB to backup, at the next failure it was 142GB, dropping by approx 50GB a time (if there a maximum it can manage in one go?), the next time it was starting again with 242GB.
    I checked the disc it was backing up to, discovered it was now selecting Public-1, re-selected Public which houses the macpro.sparsebundle, dropped the backup size (Options) to 73GB and set it off again and it is backing up as I write. I am hoping it will complete and permit another chunk to be backup but the fact it looses network connection (seemingly) or has a maximum backup in one go, is annoying because it means you cannot leave it overnight and trust it to do the backups.
    The other problem seems to be a shut down by LaCie 5Big because several times (and once this morning) I have had this message "The file server "LaCie 5Big" has closed down, followed by a complete Lacie shut down and auto-reboot with all lights and whistles. Lacie think this could be a power supply problem and say they are sending me another power brick. They also say they do not support Time Machine (they should check their own literature) and suggest I use LaCie 5Big for 'drag and drop' backup. If I wanted to do that I could pick up a cheap and nasty HD from PCWorld, not this high end 10TB drive which cost over £1,000 !
    For a while y'day I could not even find the Lacie on the network but after changing the ethernet cable from Lacie to router (Linksys) it miraculously re-appeared so that problem may have been the original Lacie blue ethernet cable had developed a fault. Checking cables is an oft-overlooked option.
    A catalogue of errors, some solved, others still all pervading, so any words from the wise would be gratefully accepted.

    I verified the macpro.sparsebundle and Time Machine backups in Disk Utility and it said both appeared to be Okay in green type. So that did not solve the issue. I did a Disk Utility repair a day or so again (despite Verify saying everything was fine) and said there was nothing to repair. I suspect two problems, the power brick may be faulty producing intermittent power and maybe causing the drive to close down (hopefully Lacie will send me a replacement to try) and second, I am thinking the network connection is getting dropped causing crashed backups without the Lacie shutdown/reboot sequence. The 73GB back up failed, I started it again at 54GB and it failed again, just started it again at 45GB - this is no way to progress!
    Perhaps the relatively new (last year) Linksys router is the problem, I find my MBP says AirPort is active but it fails to appear in Go>Server unless I switch it off and on again and perhaps a similar problem drops the connnection to the Lacie.

  • How can I enter the data from the recordset into your insert query

    Hi
    i would like to know how I can enter the data from the recordset into your insert query without using a  hidden field.
    thanks
    ------------------------------------------------------------------------------------Below is the code------------------------------------------------------------------------------------- -----
    <?php require_once('../../Connections/ezzyConn.php'); ?>
    <?php
    if (!function_exists("GetSQLValueString")) {
    function GetSQLValueString($theValue, $theType, $theDefinedValue = "", $theNotDefinedValue = "")
      if (PHP_VERSION < 6) {
        $theValue = get_magic_quotes_gpc() ? stripslashes($theValue) : $theValue;
       $theValue = function_exists("mysql_real_escape_string") ?  mysql_real_escape_string($theValue) : mysql_escape_string($theValue);
      switch ($theType) {
        case "text":
          $theValue = ($theValue != "") ? "'" . $theValue . "'" : "NULL";
          break;   
        case "long":
        case "int":
          $theValue = ($theValue != "") ? intval($theValue) : "NULL";
          break;
        case "double":
          $theValue = ($theValue != "") ? doubleval($theValue) : "NULL";
          break;
        case "date":
          $theValue = ($theValue != "") ? "'" . $theValue . "'" : "NULL";
          break;
        case "defined":
          $theValue = ($theValue != "") ? $theDefinedValue : $theNotDefinedValue;
          break;
      return $theValue;
    $editFormAction = $_SERVER['PHP_SELF'];
    if (isset($_SERVER['QUERY_STRING'])) {
      $editFormAction .= "?" . htmlentities($_SERVER['QUERY_STRING']);
    if ((isset($_POST["MM_insert"])) && ($_POST["MM_insert"] == "frmpostComment")) {
       $insertSQL = sprintf("INSERT INTO comments (com_topic, com_user, title,  com_content, com_date, online_id) VALUES (%s, %s, %s, %s, %s, %s)",
                           GetSQLValueString($_POST['com_topic'], "int"),
                           GetSQLValueString($_POST['commentby'], "int"),
                           GetSQLValueString($_POST['title'], "text"),
                           GetSQLValueString($_POST['com_content'], "text"),
                           GetSQLValueString($_POST['com_date'], "text"),
                           GetSQLValueString($_POST['online_id'], "int"));
      mysql_select_db($database_ezzyConn, $ezzyConn);
      $Result1 = mysql_query($insertSQL, $ezzyConn) or die(mysql_error());
      $insertGoTo = "index.php";
      if (isset($_SERVER['QUERY_STRING'])) {
        $insertGoTo .= (strpos($insertGoTo, '?')) ? "&" : "?";
        $insertGoTo .= $_SERVER['QUERY_STRING'];
      header(sprintf("Location: %s", $insertGoTo));
    $colname_rsCommentby = "-1";
    if (isset($_SESSION['MM_Username'])) {
      $colname_rsCommentby = $_SESSION['MM_Username'];
    mysql_select_db($database_ezzyConn, $ezzyConn);
    $query_rsTopics = "SELECT topic_id, topic FROM topics ORDER BY topic_date DESC";
    $rsTopics = mysql_query($query_rsTopics, $ezzyConn) or die(mysql_error());
    $row_rsTopics = mysql_fetch_assoc($rsTopics);
    $totalRows_rsTopics = mysql_num_rows($rsTopics);
    mysql_select_db($database_ezzyConn, $ezzyConn);
    $query_rsOnline = "SELECT online_id, `online` FROM `online` ORDER BY online_id DESC";
    $rsOnline = mysql_query($query_rsOnline, $ezzyConn) or die(mysql_error());
    $row_rsOnline = mysql_fetch_assoc($rsOnline);
    $totalRows_rsOnline = mysql_num_rows($rsOnline);
    $colname_rsCommentby = "-1";
    if (isset($_SESSION['MM_Username'])) {
      $colname_rsCommentby = $_SESSION['MM_Username'];
    mysql_select_db($database_ezzyConn, $ezzyConn);
    $query_rsCommentby  = sprintf("SELECT user_id, username FROM users WHERE username = %s",  GetSQLValueString($colname_rsCommentby, "text"));
    $rsCommentby = mysql_query($query_rsCommentby, $ezzyConn) or die(mysql_error());
    $row_rsCommentby = mysql_fetch_assoc($rsCommentby);
    $totalRows_rsCommentby = mysql_num_rows($rsCommentby);
    ?>
    <?php include("../includes/access.php"); ?>
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>ezzybay - easy click, ezzy shopping</title>
    <link href="../css/global.css" rel="stylesheet" type="text/css" />
    <link href="../css/navigation.css" rel="stylesheet" type="text/css" />
    </head>
    <body>
    <div id="wrapper">
      <?php include("../includes/top.php"); ?>
      <div id="content">
      <div id="pageTitle">
        <h2>CMS Section:</h2>
        <p>Comment Topics Page</p>
      </div>
      <?php include("../includes/leftnav.php"); ?>
        <div id="mainContent">
          <form action="<?php echo $editFormAction; ?>" method="post" name="frmpostComment" id="frmpostComment">
            <table align="center">
            <caption>Post Comment</caption>
              <tr valign="baseline">
                <td nowrap="nowrap" align="right">Topic:</td>
                <td><select name="com_topic" class="listbox" id="com_topic">
                  <?php
    do { 
    ?>
                   <option value="<?php echo  $row_rsTopics['topic_id']?>"><?php echo  $row_rsTopics['topic']?></option>
                  <?php
    } while ($row_rsTopics = mysql_fetch_assoc($rsTopics));
      $rows = mysql_num_rows($rsTopics);
      if($rows > 0) {
          mysql_data_seek($rsTopics, 0);
          $row_rsTopics = mysql_fetch_assoc($rsTopics);
    ?>
                </select></td>
              </tr>
              <tr valign="baseline">
                <td nowrap="nowrap" align="right">Title:</td>
                <td><input name="title" type="text" class="textfield" value="" size="32" /></td>
              </tr>
              <tr valign="baseline">
                <td nowrap="nowrap" align="right" valign="top">Comment:</td>
                <td><textarea name="com_content" cols="50" rows="5" class="textarea"></textarea></td>
              </tr>
              <tr valign="baseline">
                <td nowrap="nowrap" align="right">Status:</td>
                <td><select name="online_id" class="smalllistbox">
                  <?php
    do { 
    ?>
                   <option value="<?php echo $row_rsOnline['online_id']?>"  <?php if (!(strcmp($row_rsOnline['online_id'], 2))) {echo  "SELECTED";} ?>><?php echo  $row_rsOnline['online']?></option>
                  <?php
    } while ($row_rsOnline = mysql_fetch_assoc($rsOnline));
    ?>
                </select></td>
              </tr>
              <tr> </tr>
              <tr valign="baseline">
                <td nowrap="nowrap" align="right"> </td>
                <td><input type="submit" class="button" value="Insert record" /></td>
              </tr>
            </table>
            <input name="commentby" type="hidden" id="commentby" value="<?php echo $row_rsCommentby['user_id']; ?>" />
            <input type="hidden" name="com_date" value="<?php echo date("d/m/y : H:i:s", time()) ?>" />
            <input type="hidden" name="MM_insert" value="frmpostComment" />
          </form>
        </div>
      </div>
    <?php include("../includes/footer.php"); ?>
    </div>
    </body>
    </html>
    <?php
    mysql_free_result($rsTopics);
    mysql_free_result($rsOnline);
    mysql_free_result($rsCommentby);
    ?>

    I'll keep it simple and only use the date as an example. Hopefully you get the concept from the example. Basically you create a recordset and insert the recordset value instead of the POST value into your insert query. In the example below I declared a variable for $the_date and entered the variable into the INSERT query instead of the hidden POST field.
    <?php require_once('../../Connections/ezzyConn.php'); ?>
    <?php
    if (!function_exists("GetSQLValueString")) {
    function GetSQLValueString($theValue, $theType, $theDefinedValue = "", $theNotDefinedValue = "")
      if (PHP_VERSION < 6) {
        $theValue = get_magic_quotes_gpc() ? stripslashes($theValue) : $theValue;
       $theValue = function_exists("mysql_real_escape_string") ?  mysql_real_escape_string($theValue) : mysql_escape_string($theValue);
      switch ($theType) {
        case "text":
          $theValue = ($theValue != "") ? "'" . $theValue . "'" : "NULL";
          break;   
        case "long":
        case "int":
          $theValue = ($theValue != "") ? intval($theValue) : "NULL";
          break;
        case "double":
          $theValue = ($theValue != "") ? doubleval($theValue) : "NULL";
          break;
        case "date":
          $theValue = ($theValue != "") ? "'" . $theValue . "'" : "NULL";
          break;
        case "defined":
          $theValue = ($theValue != "") ? $theDefinedValue : $theNotDefinedValue;
          break;
      return $theValue;
    $the_date = date("d/m/y : H:i:s", time());
    $editFormAction = $_SERVER['PHP_SELF'];
    if (isset($_SERVER['QUERY_STRING'])) {
      $editFormAction .= "?" . htmlentities($_SERVER['QUERY_STRING']);
    if ((isset($_POST["MM_insert"])) && ($_POST["MM_insert"] == "frmpostComment")) {
       $insertSQL = sprintf("INSERT INTO comments (com_topic, com_user, title,  com_content, com_date, online_id) VALUES (%s, %s, %s, %s, %s, %s)",
                           GetSQLValueString($_POST['com_topic'], "int"),
                           GetSQLValueString($_POST['commentby'], "int"),
                           GetSQLValueString($_POST['title'], "text"),
                           GetSQLValueString($_POST['com_content'], "text"),
                           GetSQLValueString($the_date, "text"),
                           GetSQLValueString($_POST['online_id'], "int"));
      mysql_select_db($database_ezzyConn, $ezzyConn);
      $Result1 = mysql_query($insertSQL, $ezzyConn) or die(mysql_error());
      $insertGoTo = "index.php";
      if (isset($_SERVER['QUERY_STRING'])) {
        $insertGoTo .= (strpos($insertGoTo, '?')) ? "&" : "?";
        $insertGoTo .= $_SERVER['QUERY_STRING'];
      header(sprintf("Location: %s", $insertGoTo));
    ?>

Maybe you are looking for

  • How do i Only burning certain parts of songs to disc (like a mix)?

    I just want to burn like 45 seconds of a song to a disc (for a basketball warm up mix) and i can't figure out how to do it.

  • How to use alerts in Form Portlet

    Hi I m new to portal.. Plz suggest me how to use alerts in Form Portlet... If possible give me some sample code...

  • Itunes store not working properly after update 10.7

    I just did the latest itunes update to 10.7 and initially itunes store seemed fine, I was browsing films and was able to view a trailer, but the screen changed and there were suddenly no images of fims or ability to view trailers and nothing happens

  • Being messed around regarding free upgrade of BT I...

    I received a letter from BT just after i'd renewed for another 12 months, offering me Infinity for no extra charge I spoke to 5 people who advised as the letter states "no extra charge" that I won't lose my loyalty discount....I've got a feeling I wi

  • Trouble with desktop application

    I am trying to use the desktop application with a pearl I bought off of eBay. Every time I try to connect the phone the application asks for a key stored password. So I guess my question is where do I find this password and is there a default passwor