Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
Unknown Quality Score

No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.

0 Endorsements
Ranked #20.4K
~1K People Reached
Favorite Forums

9 Posted Topics

Member Avatar for rime

try this code: <?php mysql_connect("localhost","root","") or die("Failure to communicate"); mysql_select_db("mydb") or die("Could not connect to Database"); if(isset ($_POST)) { if(empty ($_POST)) { echo "Enter User Name"; } else { $query="INSERT INTO tbl1 SET fieldname = '" .$_POST. "'"; mysql_query($query) or die("can't execute query"); echo "query finished"; } } ?> <form …

Member Avatar for Borzoi
0
227
Member Avatar for web_master

definitely base on your title you cant use mysql to move your file in the directory. but in php its posible, like ryan was posted.. and the use of mysql there is to save other information in the database like Description, ImageName, Id, ForeignID etc..

Member Avatar for rahulsabari
0
190
Member Avatar for dudegio
Member Avatar for vijaysoft1

you are using code generated by dreamweaver, i suggest to create our own log in form since code generated by dreamweaver is not flexible. try to experiment the code posted by sikka_varun

Member Avatar for flagbarton
0
163
Member Avatar for bg370

are you using php? try to use a counter in fetching the data then echo the counter, bcoz if your using the ID(autoincrement) of mysql everytime you delete you also delete(part of deletion) that number. and if not, just in mysql idont know either =p

Member Avatar for Ezzaral
0
100
Member Avatar for tanha

the reason why the query did not execute bcoz it does not read the statement in your query try this query $query = mysql_query("SELECT * FROM topics WHERE '" .$_POST['metode']. "' LIKE '%".$_POST['search']."%' LIMIT 0, 50") or die("error"); and for easy tracking of error always put die

Member Avatar for tanha
0
163
Member Avatar for fortuNe1234

Files\wamp\www\working3\admincp\pages\mainconfig.php on line 11 it usually happen when you have an error in your if statement if () { } elseif() { } else { }

Member Avatar for fortuNe1234
0
212
Member Avatar for fabzster

try this one; $result = mysql_query("SELECT * FROM topics WHERE Title LIKE '%".$search."%'");

Member Avatar for MitkOK
0
155
Member Avatar for tagz017

<? mysql_connect("localhost","root", ""); mysql_select_db("dbname"); $query = "SELECT Pics from tblPic"; $result = mysql_query($query); echo '<table>'; while ($r=mysql_fetch_array($result)) { $pic = $r; echo '<td><img src="'.$pic.'" width="32" height="32"></td>'; } echo '</table>'; ?>

Member Avatar for flagbarton
0
98

The End.