User Profile

Collapse

Profile Sidebar

Collapse
phpmagesh
phpmagesh
Last Activity: Dec 7 '12, 08:03 AM
Joined: Nov 10 '08
Location: Chennai, India
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • phpmagesh
    replied to preg_split to split offset time from time
    in PHP
    Yes this is correct format. Simply the committime value will be like 05:35-05:00 or 05:35+05:00(HH: MM[-+]offset)
    See more | Go to post

    Leave a comment:


  • phpmagesh
    replied to Insert New line in php
    in PHP
    Hope this will do for you.

    Code:
    echo "Accession <input type='text' name='Accession' value='".$row['Accession']."'><br/>";
    echo "Locus <input type='text' name='Locus' value='".$row['Locus']."'><br/>";
    echo "Sequence length <input type='int' name='Sequencelength' value='".$row['Sequencelength']."'><br/>";
    echo "Sequence
    ...
    See more | Go to post
    Last edited by zmbd; Nov 26 '12, 02:29 PM. Reason: [Z{Please use the <CODE/> format button in the toolbar to format posted Code/SQL}]

    Leave a comment:


  • phpmagesh
    replied to Insert New line in php
    in PHP
    Try using <br> next to input box

    Code:
    echo "Sequence type <input type='text' name='Sequencetype' value='".$row['Sequencetype']."'><br/>";
    See more | Go to post
    Last edited by zmbd; Nov 26 '12, 02:29 PM. Reason: [Z{Please use the <CODE/> format button in the toolbar to format posted Code/SQL}]

    Leave a comment:


  • phpmagesh
    started a topic preg_split to split offset time from time
    in PHP

    preg_split to split offset time from time

    Hi,

    I have a string which will get the time with offset time. Since it is offset. I may require to split either using - or +. below is my code I tried so far.

    Code:
    $idealedt = $_REQUEST['committime']; // $idealdt = 03:45-05:00
    $mytime = preg_split('/[-\+]/',$idealedt);
    This is not working at all. not sure where it goes wrong. Can any one help me on framing this please.

    Thanks in advance,...
    See more | Go to post
    Last edited by phpmagesh; Nov 26 '12, 07:29 AM. Reason: comment line identifier added

  • everything looks good!

    you may need to add this for sure $db_name and need to select dbname which you have for your application.

    Code:
    $dbname = "sss";
      $conn = mysql_connect($dbhost, $dbuser, $dbpass) or die ('Error connecting to mysql');
    $db_name = mysql_select_db('dbname', $conn);
     $result = mysql_query("SELECT * FROM V")
    See more | Go to post

    Leave a comment:


  • What would be the date format in that string? MM/DD/YYYY or what else?
    See more | Go to post

    Leave a comment:


  • phpmagesh
    started a topic How to identify Daylight saving Time
    in PHP

    How to identify Daylight saving Time

    Hi All,

    I am trying for something in Daylight saving time. I have a eastern time stamp and the timezone (possible timezones CST,EST,PST,MST ,HST). Basically these are two input which is required for my daylight saving time calculation.

    If the time zone is CST i have to convert the given eastern timestamp to central timestamp.
    like

    Code:
    if ($timezone == "CST")
    $central = $eastern
    ...
    See more | Go to post

  • Thanks Dormilich,

    Can you help me with some sample event handler. so that i can force start with that.
    See more | Go to post

    Leave a comment:


  • phpmagesh
    started a topic Validating all the fields in form using js

    Validating all the fields in form using js

    Hi all,

    I am bit confused with the form validation. here is my case. i have a form which have two select boxes initially. when i select any value in that it will dynamically generate few more text boxes and select boxes.

    For example with the above procedure if i generate around 50 combination of text boxes and select boxes. how can i quickly validate all the fields whether it is empty or invalid entry.

    ...
    See more | Go to post

  • phpmagesh
    started a topic How to use 7 Quality control tools?

    How to use 7 Quality control tools?

    I am doing my MBA final year project and i am trying to know.. is it possible to use 7 Quality Control tool in software development organization?

    I have heard that manufacturing organization can do with this.

    Can i go with 7 QC tool to identify a rejection level in product based company. specifically the product was developed in dotnet and java?
    See more | Go to post
    Last edited by Niheel; Feb 7 '11, 11:28 PM.

  • background-image:url is not working as we expected. i google many solutions, which says css will not support in html mail.

    i tried with the above method but image is not loading. i can see the text in that place
    See more | Go to post

    Leave a comment:


  • Thanks King! i did as you said,

    however, Is there any way to write the dynamic text above image. i placed the image using <img> in <td>.
    See more | Go to post

    Leave a comment:


  • phpmagesh
    started a topic HTML mail design - Writing text above image

    HTML mail design - Writing text above image

    Hi all,

    I am designing a HTML mail template which will have images as well as text in it.

    i am trying to have a image in the background and want to write dynamic text above that. say name of the viewer who view the mail.

    I found that CSS will not support any more for mail templates. this will be a problem always.

    Is there any way to show a dynamic text by keeping the background image in...
    See more | Go to post

  • phpmagesh
    started a topic Parsing xsl variable to another xsl variable
    in XML

    Parsing xsl variable to another xsl variable

    Hi all,

    I am trying to pharse a xsl variable like below

    declared xsl variables like
    Code:
    <xsl:variable name="USD">
        <xsl:value-of select="'$'" />
      </xsl:variable>
    <xsl:variable name="EUR">
        <xsl:value-of select="'€'" />
      </xsl:variable>
    My xslt file will have below value to get the...
    See more | Go to post
    Last edited by phpmagesh; Sep 30 '10, 01:40 PM. Reason: xsl:value-of value changed

  • phpmagesh
    replied to Is it possible to play a video in email
    Thanks Jking,
    See more | Go to post

    Leave a comment:


  • phpmagesh
    started a topic Is it possible to play a video in email

    Is it possible to play a video in email

    Hi All,

    I would like to play a video in email by embedding video in to mail. but i don't have any idea how to do it. Kindly help me how to achieve playing video in email.

    I would like to test any mail account outlook, gmail, yahoo for this.

    Thanks in advance,

    Magesh
    See more | Go to post

  • phpmagesh
    replied to Passing values in hyperlink
    Hi,

    Can you please guide me how to do using session, since i don't have idea on that.

    if any sample will be very helpful for me.?

    Thanks in advance,

    Regards,
    See more | Go to post

    Leave a comment:


  • phpmagesh
    replied to Passing values in hyperlink
    Thanks Plator,

    But i would like to send the values in post method, i mean the query string which passing should not be visible in the address bar.

    Is there any way to accomplish this.?

    Thanks in advance.

    Regards,
    See more | Go to post

    Leave a comment:


  • phpmagesh
    started a topic Passing values in hyperlink

    Passing values in hyperlink

    Hi,

    i have a mail template which will be send when the user clicks send mail. Inside the mail i have some hyperlinks like

    Code:
    <asp:hyperlink id="refer" runat="server" cssclass="MERefer" target="_blank" navigateurl="/DesktopModules/SelfReporting/ExportPDF.aspx?Username=magesh?value=12345?content=test content">click here</asp:hyperlink>
    ...
    See more | Go to post

  • I Tried using
    Code:
    form f1 = new form1()
    f1.hide();
    form2 f2 = new form2()
    f2.show();
    But second form came to screen, but first form is still alive..

    Regards,
    See more | Go to post

    Leave a comment:

No activity results to display
Show More
Working...