<?php
$con=mysql_connect("localhost","root","");
if(!$con)
{
die('Could not connect:'.mysql_error());
}
mysql_select_db("test",$con);
$result = "SELECT Fieldvalue FROM jos_rsform_submission_values WHERE SubmissionId IN (SELECT FieldValue,SubmissionId FROM jos_rsform_submission_values WHERE FieldValue = '".$_POST['searchterm']."')";
print_r(mysql_fetch_array($result));
--> i dont know what to do with this part..
mysql_close($con);
?>
zalFG
0
Newbie Poster
Recommended Answers
Jump to PostSince you posted your question [?] in a thread with the same title, I am guessing you need help with the same.
I suggest you to read the sticky thread . :)Btw, You don't have mysql_query in your code.
All 3 Replies
nav33n
472
Purple hazed!
Team Colleague
Featured Poster
zortec
11
Junior Poster
rajabhaskar525
1
Junior Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.