<?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
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.