Thanks the link realyy helped me a lot.
IMy problem got solved. Its uploading properly without submitting the data.
Thanks a lot.
User Profile
Collapse
-
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,PHPLeave a comment:
-
-
So possibly what could be the solution for it. I tried many ways but not getting the desired answer.Leave a comment:
-
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...Leave a comment:
-
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 ());...Leave a comment:
-
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'].""
...Leave a comment:
-
Everything is working fine now.
Thanks a lot for your interest.Leave a comment:
-
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'")...Leave a comment:
-
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.Leave a comment:
-
Sorry and thanks a lot. Each and every advice, hint and solution helps me alot in implementin my project.
Thanks a lot.Leave a comment:
-
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.Leave a comment:
-
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... -
-
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... -
Whats a hidden iframe and how to use it. Plz let me know im stuck up with this.Leave a comment:
-
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....Leave a comment:
-
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... -
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...Leave a comment:
-
Thanks. There is data in the userdetails table as per the condition....Leave a comment:
No activity results to display
Show More
Leave a comment: