[x]
Posted via EE Mobile

Search, ask, and monitor your questions on the go with EE Mobile. Visit Experts Exchange from your mobile device and never be out of touch again.

Question
[x]
Attachment Details
[x]
The Solution Rating System

With so many solutions, how can you tell which solutions are most likely to help you and which ones are not? To provide you with a tool to use, we rate our solutions based on various elements that most accurately determine if a solution is a quality solution. To explain what factors affect the solution rating, here are the elements we take into consideration when formulating our solution rating.

  • The Grade of the Solution
  • The Zone Rank of the Expert Providing the Solution
  • The Number of Author and Expert Comments
  • The Number of Experts Contributing
  • The Feedback of the Community

Your Input Matters
Because of the way the system is set up, the most important variable in this equation is you. As a member of Experts Exchange, you are able to cast your vote on the quality of the solutions in regard to how complete, accurate, helpful and easy to understand each solution is. When you provide your feedback, each rating is adjusted accordingly. So, if you see a solution that has a poor rating that you think is a good solution, let us know by rating it. As you do, the rating will be adjusted and will become more accurate for other members of our site.

If you have any suggestions that you would like to make for our rating system, please ask a question in the Suggestions Zone of Community Support.

Thank you!

7.8

How to insert images in mysql db and display it in a table?

Asked by CalmSoul in PHP Scripting Language, MySQL Server

Tags: mysql, insert, image, how

here is my form code

I want to insert image in sql db and display it ... with 300 and height 300

also ...

how can i make that browse btn work ...

regards,
1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
12:
13:
14:
15:
16:
17:
18:
19:
20:
21:
22:
23:
24:
25:
26:
27:
28:
29:
30:
31:
32:
33:
34:
35:
36:
37:
38:
39:
40:
41:
42:
43:
44:
45:
46:
47:
48:
49:
50:
51:
52:
53:
54:
55:
56:
57:
58:
59:
60:
61:
62:
63:
64:
65:
66:
67:
68:
69:
70:
71:
72:
73:
74:
75:
76:
77:
78:
79:
80:
81:
82:
83:
84:
85:
86:
87:
88:
89:
90:
91:
92:
93:
94:
95:
96:
97:
98:
99:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>Untitled Document</title>
<style type="text/css">
<!--
body {
	background-image: url(bkgd-mid.gif);
}
.style1 {
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 10px;
}
.style2 {
	font-size: 14px;
	font-weight: bold;
}
-->
</style></head>
 
<body>
<form action="" method="post" name="form1" class="style1" id="form1">
 
  <p class="style2">Add New Cricket Match</p>
  <table width="100%" border="0">
    <tr>
      <td><strong>Category</strong></td>
      <td><select name="select">
        <option value="Test Match">Test Match</option>
        <option value="ODI Match">ODI Match</option>
        <option value="T20 Match">T20 Match</option>
        <option value="English County">English County</option>
        <option value="-- Choose --" selected="selected">-- Choose --</option>
      </select>      </td>
    </tr>
    <tr>
      <td><strong>Official Match # </strong></td>
      <td><input name="textfield" type="text" size="50" /></td>
    </tr>
    <tr>
      <td><strong>Title</strong></td>
      <td><input name="textfield2" type="text" size="50" /></td>
    </tr>
    <tr>
      <td><strong>Season</strong></td>
      <td><input name="textfield3" type="text" size="50" /></td>
    </tr>
    <tr>
      <td><strong>Series</strong></td>
      <td><input name="textfield4" type="text" size="50" /></td>
    </tr>
    <tr>
      <td><strong>Description</strong></td>
      <td><textarea name="textarea2" cols="70" rows="6"></textarea></td>
    </tr>
    <tr>
      <td><strong>Player of the match </strong></td>
      <td><input name="textfield8" type="text" size="50" /></td>
    </tr>
    <tr>
      <td><strong>Result</strong></td>
      <td><input name="textfield6" type="text" size="50" /></td>
    </tr>
    <tr>
      <td><strong>Scorecard</strong></td>
      <td><input name="textfield7" type="text" size="50" /></td>
    </tr>
    <tr>
      <td><strong>Upload Match Picture </strong></td>
      <td><input name="textfield5" type="text" size="50" />
      <input type="submit" name="Submit" value="Browse" /></td>
    </tr>
    <tr>
      <td><strong>Download Links </strong></td>
      <td><textarea name="textarea" cols="70" rows="15"></textarea></td>
    </tr>
    <tr>
      <td><strong>Status</strong></td>
      <td><p>
        <label>
          <input type="radio" name="RadioGroup1" value="Normal" />
          Normal</label>
        <br />
        <label>
          <input type="radio" name="RadioGroup1" value="Featured" />
          Featured</label>
        <br />
      </p></td>
    </tr>
    <tr>
      <td>&nbsp;</td>
      <td><input type="submit" name="Submit2" value="Submit" />
      <input type="reset" name="Submit3" value="Clear Form" /></td>
    </tr>
  </table>
</form>
</body>
</html>
[+][-]12/13/07 08:13 PM, ID: 20469691Accepted Solution

View this solution now by starting your 30-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

About this solution

Zones: PHP Scripting Language, MySQL Server
Tags: mysql, insert, image, how
Sign Up Now!
Solution Provided By: Nopius
Participating Experts: 3
Solution Grade: A
 
[+][-]12/13/07 08:41 PM, ID: 20469778Expert Comment

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]12/14/07 06:13 AM, ID: 20471581Expert Comment

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
 
Loading Advertisement...
20091118-EE-VQP-93 / EE_QW_2_20070628