User Profile

Collapse

Profile Sidebar

Collapse
agarwalsrushti
agarwalsrushti
Last Activity: Mar 20 '08, 10:12 AM
Joined: Feb 14 '08
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • agarwalsrushti
    replied to Problem when uploading a file in form
    in PHP
    Thanks the link realyy helped me a lot.
    IMy problem got solved. Its uploading properly without submitting the data.
    Thanks a lot.
    See more | Go to post

    Leave a comment:


  • agarwalsrushti
    replied to Problem storing array in database
    in PHP
    That to dint helped. Is it possible that the comma separated values that i take from the user can be stored as it is in the database in a separate field.
    For eg if user enters Java,PHP as key skills. Then can i make it appear in database as Java,PHP
    See more | Go to post

    Leave a comment:


  • agarwalsrushti
    replied to Problem storing array in database
    in PHP
    I wanted to know how can i display all the results.
    See more | Go to post

    Leave a comment:


  • agarwalsrushti
    replied to Problem storing array in database
    in PHP
    So possibly what could be the solution for it. I tried many ways but not getting the desired answer.
    See more | Go to post

    Leave a comment:


  • agarwalsrushti
    replied to Problem storing array in database
    in PHP
    Now it is properly taking the values just once. But when i echo it in my form it just displays the last value in the array.
    Moreover i tried echoing the value of implode here itself, it displays the value properly but doesnt shows comma between the values.

    [code=php]
    $result8= " SELECT TagId FROM usertags WHERE UserName= '$uname'";
    $data8 = mysql_query($re sult8) or die(mysql_error ());
    while($info8...
    See more | Go to post

    Leave a comment:


  • agarwalsrushti
    replied to Problem storing array in database
    in PHP
    I fetched the row but now its displaying the last value twice. Eg. Java,Java.
    I want it to echo somewhere else in my form so there it displays twice the last value. Whereas if i echoes $skills in the loop as shown below it echoes all the values twice. Eg. C,C,C++,C++,Jav a,Java

    [code=php]
    $result8= " SELECT TagId FROM usertags WHERE UserName= '$uname'";
    $data8 = mysql_query($re sult8) or die(mysql_error ());...
    See more | Go to post

    Leave a comment:


  • agarwalsrushti
    replied to Problem storing array in database
    in PHP
    Now i m stuck up with a new problem in it.
    Im not able to retrieve the skills to be displayed it for the users.

    [code=php]
    $result8= " SELECT TagId FROM usertags WHERE UserName= '$uname'";
    $data8 = mysql_query($re sult8) or die(mysql_error ());
    while($info8 = mysql_fetch_arr ay( $data8)){
    $result9 = "SELECT TagName FROM tagmaster WHERE TagId= ".$info8['TagId'].""
    ...
    See more | Go to post

    Leave a comment:


  • agarwalsrushti
    replied to Problem storing array in database
    in PHP
    Everything is working fine now.
    Thanks a lot for your interest.
    See more | Go to post

    Leave a comment:


  • agarwalsrushti
    replied to Problem storing array in database
    in PHP
    It is working now. i made a small mistake. But now the problem is if there are 3 values in key skills eg:C,C++,Java then also it iterates 4 times. So what could possibly done for this. The code that is working now is below.

    [code=php]
    $arrSkills = explode(",",$_P OST['KeySkills']);
    foreach($arrSki lls as $skill){
    $query1 = mysql_query("SE LECT TagId FROM tagmaster WHERE TagName = '$skill'")...
    See more | Go to post

    Leave a comment:


  • agarwalsrushti
    replied to Problem storing array in database
    in PHP
    Thankyou.
    I want the values in $arrSkills to be stored in the database.
    So do i need to change the asssignment of $arrSkills.
    Plz let me know.
    See more | Go to post

    Leave a comment:


  • agarwalsrushti
    replied to Problem storing array in database
    in PHP
    Sorry and thanks a lot. Each and every advice, hint and solution helps me alot in implementin my project.
    Thanks a lot.
    See more | Go to post

    Leave a comment:


  • agarwalsrushti
    replied to Problem when uploading a file in form
    in PHP
    Thanks.
    Iwill study the link you gave and if any problem persists i ll let u know. Its a very good link that you suggested.
    See more | Go to post

    Leave a comment:


  • agarwalsrushti
    started a topic Problem storing array in database
    in PHP

    Problem storing array in database

    Hi,
    I have taken skills form the user in a text box using comma separated values. For eg: Key Skills: C,C++,Java
    Now i have stored this vaues into array named arrSkills using explode function. Now before entering them into database i first check in the tagmaster table if already a tagnamed arrSkills exists in the table. If it exists i select the tagId of the corresponding tagname. If it doesnt exists then i first insert that arrSkills...
    See more | Go to post

  • agarwalsrushti
    replied to View files uploaded through form
    in PHP
    The name of the file is stored in the database.
    See more | Go to post

    Leave a comment:


  • agarwalsrushti
    started a topic View files uploaded through form
    in PHP

    View files uploaded through form

    Hi,
    I have made a registration form for job site in which the user uploads a .doc or .txt file through form along with the other details stored in the database. The uploaded files is sored in the upload folder that i created in working directory and not in the database. Now when someone enters the search page and enters the search criteria the name of the users with that criteria are listed. When i ckick on the name of any user then his details...
    See more | Go to post

  • agarwalsrushti
    replied to Problem when uploading a file in form
    in PHP
    Whats a hidden iframe and how to use it. Plz let me know im stuck up with this.
    See more | Go to post

    Leave a comment:


  • agarwalsrushti
    replied to Problem when uploading a file in form
    in PHP
    Yes i know the problem is because of 2 type=submit buttons. Is there any way by which this problem can be solved. On normal job sites when you upload the file it doesnt submits the dat....
    See more | Go to post

    Leave a comment:


  • agarwalsrushti
    started a topic Problem when uploading a file in form
    in PHP

    Problem when uploading a file in form

    Hi,
    Ive created a registration page in which at the last it asks the user to upload the resume file. When the user clicks on the upload button to upload the file it automativcally submits all the data entered in the form. I want that when the user uploads the file after clicking the upload button it should display the message of successful upload on the same page itself. Then when the user clicks on the submit button the data should be entered...
    See more | Go to post

  • agarwalsrushti
    replied to No search result is displayed
    Here Specialization is a constant. Its the value that i ve assigned to it in drop down. The other constants work fine and displays the result. Its not going in this while loop even if matches are there. I dont think theres a problem with this loop coz it works well for other search criterias and displays the results.

    [code=php]
    $resultnum = mysql_num_rows( $data); // Just print $resultnum if you want to show how many results...
    See more | Go to post

    Leave a comment:


  • agarwalsrushti
    replied to No search result is displayed
    Thanks. There is data in the userdetails table as per the condition....
    See more | Go to post

    Leave a comment:

No activity results to display
Show More
Working...