Search Result

Collapse
30 results in 0.0015 seconds.
Keywords
Members
Tags
variables
  •  

  • mwansari
    started a topic How To Replace Variables in RTF File in PHP
    in PHP

    How To Replace Variables in RTF File in PHP

    Hi,

    I want to know how to replace variables of RTF file using PHP language.

    I have HotDocs created document where variables are like this.
    Code:
    Name: «demo_Last name» «demo_First name»
    DOB: «demo_DOB»
    SSN: «demo_SSN»
    Country: «Country Name» (Variables may include spaces.)
    And also conditions like this:

    Code:
    «IF XYZ = "Some String"»
    ...
    See more | Go to post

  • Javascript hyperlink variables populated in asp coded email template

    How to write a javascript coded hyperlink with two variables defined by asp code?
    The data variables that populate in the asp coded email template are:

    $(CustomerID) $(OrderNo) $(CustomerName) ..etc

    I tried a hyperlink like this but asp doesn't recognize the variables in the hyperlink:

    href="../webstore/$(CustomerID)_$ (OrderNo).pdf"> CLICK HERE</a></td>

    ...
    See more | Go to post

  • shellyb
    started a topic Variables showing?

    Variables showing?

    I have a program that is passing me variables.

    {$firstname}
    {$refid}

    I need to know the syntax of html to say

    HELLO JOHN (where firstname=john)

    and the syntax for a "<a href "http://www.mysite.com/"+{$refid}
    See more | Go to post

  • Help with runtime error due to incorrect VBA SQL statement syntax

    Hoping an expert can help me fix an error that I'm getting while trying to execute an SQL statement in Access Visual Basic.

    Please note I have limited programming knowledge.

    Here's the background of my problem:

    I'm trying to create a list of the last ten records visited by the database user. As a record is visited, I want to capture in another table its [Docket_ID], a field that is located on a subform...
    See more | Go to post

  • shockna1
    started a topic Sharing variables and methods between classes

    Sharing variables and methods between classes

    I have recently come across a situation where various non-related class need to share variables and methods. The first thing that came to my mind was to make a static class with static variables and methods which works fine, but I was wondering if there was a more OO way of doing this. Thanks in advance!
    See more | Go to post

  • virtualweb
    started a topic Passing Variables to Drop Down Menu

    Passing Variables to Drop Down Menu

    Hello;

    I never coded in javascript but I taught myself perl through books and tutorials and found many similarities.

    This helped me modify a free downloadable javascript snippet of code from a website and do the nessessary changes to adapt it to my needs.

    http://javascript.inte rnet.com/forms/country-state-drop-down.html

    I need a drop down menu for a registration form where people select...
    See more | Go to post

  • While executing PHP scripts, in which segment of Memory, variables are stored?

    Iam new to PHP, I have experience in C/C++. I have the following doubt:

    In C or C++ 1) function variables are stored on stack. 2) Global and Static variables are stored on data segment(.bss segment). 3) Register variables are stored in Register 4) program instructions get stored in code segment 5) The memory created dynamically are stored in Heap.

    What i want to know is, does above mentioned points are true also for "PHP"....
    See more | Go to post
    Last edited by vvtt; May 16 '11, 09:02 PM. Reason: Sentence rearranged

  • How to read user input into a struct and add to a csv file?

    Hi all,

    I am trying to use the variables I have in the struct to store user input about a car.

    Code:
    struct CarC
    {
    	string carRegistration;
    	string carOwner;
    	string carOwnerAddress;
    	string carManufacturer;
    	string carModel;
    	unsigned numCarDoors;
    	unsigned numCarSeats;
    	string carType;
    	string carInformation;
    };
    ...
    See more | Go to post

  • Assigning multiple variables in an input statement

    Ok, here goes
    I was wondering if there was a better way to do this. I want my final program to run like this for the user:

    What did x get? <user input>
    What did y get? <user input>
    What did z get? <user input>

    x received <users answer>
    y received <users answer>
    z received <users answer>

    I'm aware of two ways of doing this but they both seem rather...
    See more | Go to post

  • Friderik
    started a topic Some help with Do__Loop and Arrays

    Some help with Do__Loop and Arrays

    Hi everyone!
    I have a form with 6 checkboxes (getting their values from a table/query)
    When the form loads, I would like the buttons right of the checkboxes to "react" to the values in the chekcboxes.
    For example: If "Value1" is 0, then disable "EDIT" button and enable "ADD" button Else enable "Edit" button and disable "ADD" button.
    Here is a screenshot:
    ...
    See more | Go to post
    Last edited by NeoPa; Apr 7 '11, 10:23 PM. Reason: Made screenshot visible within the post.

  • nick john
    started a topic Python if statements with strings.

    Python if statements with strings.

    Why does this not work? Why does this not return "good im glad". Sorry i'm a beginner.
    Code:
     x = str(input("Hello how are you?"))
        
        if x == "very good":
            print("Good Im Glad To Hear That!")
        else:
            print("I'm Sorry!")
    See more | Go to post

  • How do I INSERT the values of variables into an Access table using SQL?

    I am trying to record certain incidents in my C# program, such as a user logging in or accessing the database.

    I am attempting to use something like

    Code:
    OleDbCommand writeLogs = new OleDbCommand("INSERT INTO [LOG] (username, firstName, lastName, logDetails) VALUES (user, fName, lName, details);", connection);
    but I get the error that "No value was given for one or more required parameters"....
    See more | Go to post

  • Is it possible to return variables to the main function?

    Hi, I'm new to python, programming in general actually. I was wondering if it was possible to return variables from a function? Hmm that probably didn't make sense, i'll give an example. Lets say i had this program:
    Code:
    def main ():
        age = input ('What is your age in years? ')
        weeksOld = age * 52
        print 'Wow, you are at least ', weeksOld, ' weeks old!!!'
    main ()
    Is it possible...
    See more | Go to post

  • Spencer Killen
    started a topic Why won't data in Form won't post to PHP page?
    in PHP

    Why won't data in Form won't post to PHP page?

    ok i have two pages and right now i just want to send the form data and display it on another page im using notepad and when i run the codes through and it just comes up as nothing for the varibles

    page 1
    Code:
    <html>
    <?php>
    <form action="php2.php" method="post">
    Username: <input type="text" name="user" />
    Password: <input type="password"
    ...
    See more | Go to post
    Last edited by Niheel; Jan 19 '11, 03:42 AM. Reason: please only post relevant information and edit your question to add relevant information.

  • Spencer Killen
    started a topic Can you save form data to the website?

    Can you save form data to the website?

    In my website i have forms that are submitted into the URL and then converted into javascript on the next page, i wish to have sort of like a survey on the first page and then she the results of others on the next, is their anyway of storing javascript variables into an html file, my web hosting doesn't allow anything else and doesn't allow the post method (webs.com) If its not possible can someone explain a way to do it in notepad?

    ...
    See more | Go to post
Working...