Results 21 to 30 of 44
-
22nd Mar 2012, 11:10 PM #21Respected Member
Create the form and show your code here.
-
23rd Mar 2012, 08:35 AM #22OPMemberWebsite's:
heroturko.biz softpk.com gfxtra.biz hotfilegfx.com
My Form Code:
PHP Code:<div class="toggle_container">
<div class="block">
<form>
<center><b><h7>Vendor Service Request</h7></b></center>
<div class="columns clearfix">
<div class="col_50">
<fieldset>
<label class="hospitalname">Hospital Name</label>
<div>
<input type="text" class="long">
</div>
</fieldset>
</div>
<div class="col_50">
<fieldset>
<label>Ref No.</label>
<div>
<input type="text" class="long">
</div>
</fieldset>
</div>
</div>
<div class="columns clearfix">
<div class="col_50">
<fieldset>
<label>From</label>
<div>
<input type="text" class="long">
</div>
</fieldset>
</div>
<div class="col_50">
<fieldset>
<label>Description</label>
<div>
<input type="text" class="long">
</div>
</fieldset>
</div>
</div>
<div class="columns clearfix">
<div class="col_50">
<fieldset>
<label>Designation</label>
<div>
<input type="text" class="long">
</div>
</fieldset>
</div>
<div class="col_50">
<fieldset>
<label>Manufacture</label>
<div>
<input type="text" class="long">
</div>
</fieldset>
</div>
</div>
<div class="columns clearfix">
<div class="col_50">
<fieldset>
<label>Tel Number</label>
<div>
<input type="text" class="long">
</div>
</fieldset>
</div>
<div class="col_50">
<fieldset>
<label>Models</label>
<div>
<input type="text" class="long">
</div>
</fieldset>
</div>
</div>
<div class="columns clearfix">
<div class="col_50">
<fieldset>
<label>Mobile Number</label>
<div>
<input type="text" class="long">
</div>
</fieldset>
</div>
<div class="col_50">
<fieldset>
<label>Serial numbers</label>
<div>
<input type="text" class="long">
</div>
</fieldset>
</div>
</div>
<div class="columns clearfix">
<div class="col_50">
<fieldset>
<label>Fax</label>
<div>
<input type="text" class="long">
</div>
</fieldset>
</div>
<div class="col_50">
<fieldset>
<label>Equipment</label>
<div>
<input type="text" class="long">
</div>
</fieldset>
</div>
</div>
<div class="columns clearfix">
<div class="col_50">
<fieldset>
<label>Email address</label>
<div>
<input type="text" class="long">
</div>
</fieldset>
</div>
<div class="col_50">
<fieldset>
<label class="attachment">Attachement</label>
<div>
<input type="file" id="fileupload2" class="uniform">
</div>
</fieldset>
</div>
</div>
<div class="columns clearfix">
<div class="col_50">
<fieldset>
<label>Type</label>
<div class="uniform">
<label for="yes">
<input type="checkbox" name="yes" id="yes"/>
Warranty
</label>
<label for="no">
<input type="checkbox" name="no" id="no"/>
PPM Contact
</label>
<label for="cant">
<input type="checkbox" name="no" id="no"/>
Repair argent
</label>
</fieldset>
</div>
<div class="col_50">
<fieldset>
<label>Fault Description And Service Description</label>
<div>
<textarea name="textarea" height="50px" class="long"></textarea>
</div>
</fieldset>
</div>
</div>
<div class="padding_10">
<button type="submit" class="button blue"> <img src="images/icons/white/png/checkmark_icon&16.png" /> Submit </button>
<button type="reset" class="button green"> <img src="images/icons/white/png/brush_icon&16.png" /> Preview </button>
<div class="clear"></div><!-- CLEAR BOTH -->
</div>
</form>
</div>
</div>
</div>
-
24th Mar 2012, 03:33 PM #23Respected Member
The form you posted looks nothing like the one above. Fix it.
Now why do you have a submit and preview button on the form if the the preview comes up when you hit the id.
I am guessing you have the submit in case you want to make changes to the displayed record??
And why is there a view record in the listing if you are clicking id to display record????
Also for database purposes which of the hospital information will be unique? Reference number??
Explain these and fix the form ..
-
24th Mar 2012, 08:17 PM #24OPMemberWebsite's:
heroturko.biz softpk.com gfxtra.biz hotfilegfx.comActually I am making a request form. My client request this form is for every visitor. visitor send request and submit form then goto request inbox in admin panel.
This is the kind of form ticket system. I can not submit and display attachment file and checkbox in db. please you make me an example form
Form:
Hospital | Attachment File | Checkbox
Submit form and goto request inbox
like this:
then click CoffeeCup Team To Full View:
-
24th Mar 2012, 11:14 PM #25Respected Member
Now I am confused.
You want the form to be displayed.
Then fields are filled out and they click submit.
You then want what?? An email sent to admin? Or a new database record created??
Or both or what??
-
24th Mar 2012, 11:44 PM #26BannedWebsite's:
vaporhostn.comAt first i thought he was trying to say
1. wanted a form to submit the records
2. A page shows all records (view record link would open step 3)
3. a single php file that pulls the record id and shows all info submited into the database
Now that hotmail picture threw me off hahah
edit: or maybe he wants a confirmation email link setup?
-
25th Mar 2012, 09:57 PM #27OPMemberWebsite's:
heroturko.biz softpk.com gfxtra.biz hotfilegfx.comi am making display db record but show this error please solved this problem
PHP Code:Parse error: syntax error, unexpected T_STRING, expecting ',' or ';' in G:\WampDeveloper\Websites\DefaultWebsite\webroot\database\index.php on line 105
PHP Code:<div class="mws-panel grid_8">
<div class="mws-panel-header">
<span class="mws-i-24 i-table-1">Simple Table</span>
</div>
<div class="mws-panel-body">
<table class="mws-table">
<thead>
<tr>
<th>Full Detail</th>
<th>Hospital Name</th>
<th>Service Report</th>
<th>Date</th>
</tr>
</thead>
<tbody>
<?php
$con = mysql_connect("localhost","username","password");
if (!$con)
{
die('Could not connect to database');
}
mysql_select_db("my_db", $con);
$keywords = $_POST['key_words'];
$sql = "SELECT id, servicereport, hospitalname
FROM insrep
WHERE servicereport LIKE '%$keywords%'
OR hospitalname LIKE '%$keywords%'
ORDER BY servicereport";
$rst = mysql_query($sql, $con);
echo "<tr class='gradeX'>";
while($a_row = mysql_fetch_assoc($rst)) {
echo "<td><a href='player.php?id={$a_row['id']}'>"Full Detail Vendor Service Request"</td>";
echo "<td>" . $row->hostpitalname . "</td>";
echo "<td>" . $row->servicereport . "</td>";
echo "<td>" . $row->Date . "</td>";
echo "</tr>";
}
mysql_close($con); //close the connection to the database
?>
</tbody>
</table>
</div>
</div>
-
25th Mar 2012, 11:01 PM #28BannedWebsite's:
vaporhostn.comthese
Code:echo "<td>" . $row->hostpitalname . "</td>"; echo "<td>" . $row->servicereport . "</td>"; echo "<td>" . $row->Date . "</td>";
Code:echo "<td>"' . $row->hostpitalname . '"</td>"; echo "<td>"' . $row->servicereport . '"</td>"; echo "<td>"' . $row->Date . '"</td>";
-
25th Mar 2012, 11:42 PM #29OPMemberWebsite's:
heroturko.biz softpk.com gfxtra.biz hotfilegfx.comThis error is still coming
Parse error: syntax error, unexpected T_STRING, expecting ',' or ';' in G:\WampDeveloper\Websites\DefaultWebsite\webroot\d atabase\index.php on line 105
-
26th Mar 2012, 01:42 AM #30BannedWebsite's:
vaporhostn.comIs the code above line 105 of index.php?
Sponsored Links
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Similar Threads
-
[Selling] Excellent Matrimonial Script| Complete readymade Matrimony Script Available
By matriscript4u in forum Marketplace (Buy, Sell and Trade)Replies: 0Last Post: 23rd Oct 2012, 02:54 PM -
[Selling] Mp3 Search Engine, File Host, SMS Script, Arcade Script, PDF Search Script, and More!
By Fileze in forum Completed TransactionsReplies: 12Last Post: 13th Mar 2012, 02:23 PM -
Greasemonkey script: Megaupload Premium Multifetch Script
By Dman in forum Webmaster ResourcesReplies: 46Last Post: 15th Dec 2011, 01:07 AM -
[Selling] Rslinkgens Premium link generator script V1 -Most advanced and viral script
By vccshopper in forum Completed TransactionsReplies: 0Last Post: 24th Jun 2011, 08:10 PM -
[Selling] A.A.S. (Adult Automated Script For ClipBucket Video Script)
By tangi in forum Completed TransactionsReplies: 0Last Post: 25th Mar 2011, 12:45 PM
themaCreator - create posts from...
Version 3.08 released. Open older version (or...