User Profile

Collapse

Profile Sidebar

Collapse
fariba123
fariba123
Last Activity: Feb 19 '07, 07:43 AM
Joined: Oct 18 '06
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • fariba123
    started a topic match values of 2 arrays in smarty-urgent
    in PHP

    match values of 2 arrays in smarty-urgent

    there are two arrays:

    $players = array(
    "23" => "Michael Jordan",
    "32" => "Michael Johnson"
    );

    $current_player = array(
    "player_id" => "23",
    "age" => "22"
    );

    how can i get the name of the player with player_id 23

    can anyone help me out?...
    See more | Go to post

  • return corresponding value from the array in smarty-urgent

    hi

    i have designed 2 web pages using smarty. in the first page a list of records has been shown with a link in the invoice no. whenever one clicks the link the details according to the invoice no has to be shown.

    the problem is i have a column in the database that holds the code and i have to show the corresponding value in the second page. there is a big list for this.

    i have done it using if | else....
    See more | Go to post

  • thanks for the suggestion but it won't make any difference.

    what i need is for example:
    i will enter pe and click submit. what i will see is: pen pencil (below the form).

    next time i will enter sh and click submit. what i will see is: pen pencil sharpner(below the form).

    the process will continue unless i get all my desired product names.

    i hope you understand what i want. i want...
    See more | Go to post

    Leave a comment:


  • <html>
    <head>
    <title>Untitl ed Document</title>
    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
    </head>

    <body>
    <form action="testInv entory.php" method="post">
    <input type="hidden" name="ctr" value="<?=$ctr; ?>">
    Search Product Info !...
    See more | Go to post

    Leave a comment:


  • fariba123
    started a topic handle multiple related form on one page, urgent
    in PHP

    handle multiple related form on one page, urgent

    i have a table that contains product details. i have a form with a textbox that takes product name as input. as soon as the submit button is clicked the product name as submitted has to be shown bellow the first form (in same page). everytime i click the submit button the product name as entered has to be shown below along with the previous product names.

    i have done it for the first submit. i don't know how to append the product name...
    See more | Go to post

  • fariba123
    replied to date difference
    in PHP
    thanks for the reply. but i failed to understand the usability for date in which format (i.e. [26 Feb 2006] or [Feb26 2006] or [26/02/2006] ).

    it will be great if you explain with a date example.

    thanks...
    See more | Go to post

    Leave a comment:


  • thanks for the help. it worked....
    See more | Go to post

    Leave a comment:


  • fariba123
    replied to two related dropdown menus
    in PHP
    here is the sql command:
    =============== ===
    Code:
    CREATE TABLE category ( cat_id int(2) NOT NULL auto_increment, category varchar(25) NOT NULL default '', PRIMARY KEY (cat_id) ) TYPE=MyISAM; 
    # # Dumping data for table `category` # 
    INSERT INTO category VALUES (1, 'Fruits'); INSERT INTO category VALUES (2, 'Colors'); INSERT INTO category VALUES (3, 'Games'); INSERT INTO category VALUES (4, 'Vehicles');
     # --------------------------------------------------------
    ...
    See more | Go to post
    Last edited by ronverdonk; Oct 10 '07, 03:26 PM. Reason: code tags

    Leave a comment:


  • hi

    thanks for the reply and also thanks for reminding me of my fault. i never thought of giving a reply. sorry for not giving any reply before to anyone.

    whenever i got the solution i immediately moved on making it work. again whenever i didn't get a solution i moved on searching for the solution in different way. i never thought of replying to give thanks when i got solution or to inform that the solution didn't work...
    See more | Go to post

    Leave a comment:


  • fariba123
    started a topic date difference
    in PHP

    date difference

    hi

    i have developed an employee details web site. there is an option to view employee's experience.

    in professional experience part i have:
    start date: 01 Mar 2006 and end date:05 Oct 2006

    how can i get the difference between the above dates in the following format:
    days worked:x year (s), y month (s), z day (s)

    please give a quick reply.

    thank you
    See more | Go to post

  • managing text boxes based on the drop down list value

    i have designed an employee information site. there is an option to generate pay slip.

    how can i show the employee related data based on the drop down list.

    i have found code example for managing list boxes. but i need help on managing multiple text boxes.

    please give a quick reaply.

    thank you
    See more | Go to post

  • fariba123
    started a topic decimal number with comma (,) where required

    decimal number with comma (,) where required

    requirement 1
    --------------------
    present data:12000.00(i n database)

    required data:12,000.00( display format)

    requirement 2
    --------------------
    there are some decimal data [decimal(10,2)] in database. i have to print the total value in the same format (i.e. 12.00). but i am getting the value as 12.

    please help me out

    thank you
    See more | Go to post

  • fariba123
    started a topic create .pdf file
    in PHP

    create .pdf file

    i have designed an ip management site. there is a letter generation option that generates a letter including all informations for the specified client. this letter has to be converted to a pdf file so that it can be mailed to that client.

    please provide easy code solution that is easily understandable.

    thank you
    See more | Go to post

  • show text box value according to the selected combobox value

    i am developing an employee details website. i am creating a form to insert salary related information. i want that when the employee name is selected from the combobox, the designation and salary of the employee has to be shown in the respective text field from the database in the same form.

    please help me with a easily understandable code example.

    thank you,
    fariba
    See more | Go to post

  • fariba123
    started a topic convert mysql data to excel file
    in PHP

    convert mysql data to excel file

    i have developed a ip management website. there are options to view reports. is there any way to convert the reports in excel file by clicking a link/image.

    thank you,
    fariba
    See more | Go to post

  • fariba123
    started a topic upload, save and edit photo using php
    in PHP

    upload, save and edit photo using php

    hi, can i ask for a very simple example php code on how to save a photo from a form to the database or something like that? and how to get it and display it in the page? i just want a very simple example so that i can understand. i am new with php.

    thanks
    fariba
    See more | Go to post

  • fariba123
    started a topic upload photo, save in database and edit photo
    in PHP

    upload photo, save in database and edit photo

    hi
    i am working with php. i am designing a site which will store employee information along with his/her photo and also edit information. i have completed the information save and edit part. now i want to add the photo upload option in the save and edit form.

    looking forward to a quick reaply.

    thank you
    fariba
    See more | Go to post
No activity results to display
Show More
Working...