Results for query "upload.php"

jQuery Validation Plugin not Working With Ajax

php

<div id="content" style="margin-top:10px;">
<div style="height:80%;width:97%;border:2px solid black;padding:10px 8px;">
<form action="upload.php" method="POST" id="uploadform">
<input type="text" name="username" id="username">
<input type="file" name="file"/>
<input type="submit" id="submit" value="Upload"/>

<div id="loader" style="display:none;">
<center><img src="load.

Titanium HTTPCLIENT can't upload file

php" method="post"
enctype="multipart/form-data">
<label for="file">Filename:</label>
<input type="file" name="file" id="file"><br>
<input type="submit" name="submit" value="Submit">
</form>


Upload.php file:

$tmp_file=$_FILES['file']['tmp_name'];
$target_file=basename($_FILES['file']['name']);
move_uploaded_file($tmp_file, "files/".

Failed to pass parameter value from html to php

php" method="post" enctype="multipart/form-data">

<input id="u_file" type="file" name="u_file" size="200000"><br>
<input type="text" id="tex" name="tex">

<br />

<input id="submit" name="submit" type="submit" value="submit">

</form>

</div>
</body>
</html>


And here is the upload.php

ini_set('display_errors', 1);
ini_set('log_errors', 1);

$u_file = $_POST['u_file'];

$targetfolder = "testupload/";

$targetfolder = $targetfolder.

Error at mysqli_query

I have the following code:

$sql_query = "insert into table students('aarthi','abinesh','anand','aprna','babyshalini','bharathi','dinesh','dhivya','gayathri','gnanaprakash','gokila','gowthem','ibrahim','inbavalli','joemoantom','karthikeyan','kavya','kiruthika','madhumitha','mouliya','nandhini','nithya','prasanth','praveenkumar','priyanga','rajashri','rajkumar','rangashree','reshma','rohan','roja','sangavi','sinthuja','sivasanker_m','sivasanker_v','sowdeshwaran','sowmiya','subash','tamilvalavan','vaishnavi','vasanthakumar','aarchana','dhayalakumaran_sabeesan','premkumar') values ('$m1','$m2','$m3','$m4','$m5','$m6','$m7','$m8','$m9','$m10','$m11','$m12','$m13','$m14','$m15','$m16','$m17','$m18','$m19','$m20','$m21','$m22','$m23','$m24','$m25','$m26','$m27','$m28','$m29','$m30','$m31','$m32','$m33','$m34','$m35','$m36','$m37','$m38','$m39','$m40','$m41','$m42','$m43','$m44')";
mysqli_query($db_select,$sql_query);


It shows the following error:


Warning: mysqli_query() expects parameter 1 to be mysqli, boolean
given in C:\Program Files\EasyPHP-Devserver-17\eds-www\mark\upload.php
on line 51


The problem is from $db_select you should post it to see what is that you can see mysqli doc to see more: http://php.