Posts
 
Reputation
Joined
Last Seen
Ranked #3K
Strength to Increase Rep
+0
Strength to Decrease Rep
-0
100% Quality Score
Upvotes Received
4
Posts with Upvotes
3
Upvoting Members
4
Downvotes Received
0
Posts with Downvotes
0
Downvoting Members
0
2 Commented Posts
0 Endorsements
Ranked #1K
~9K People Reached
Favorite Forums
Favorite Tags
Member Avatar for vijiglad

[CODE]<?php if(isset($_POST['upload']) && $_FILES['userfile']['size'] > 0) { $fileName = $_FILES['userfile']['name']; $tmpName = $_FILES['userfile']['tmp_name']; $fileSize = $_FILES['userfile']['size']; $fileType = $_FILES['userfile']['type']; $fp = fopen($tmpName, 'r'); $content = fread($fp, filesize($tmpName)); $content = addslashes($content); fclose($fp); if(!get_magic_quotes_gpc()) { $fileName = addslashes($fileName); } include 'config.php'; include 'opendb.php'; $query = "INSERT INTO upload (name, size, type, content …

Member Avatar for diafol
0
705
Member Avatar for achini.thilanka

i want to know how to create database when there are check boxes. i also want to know the codes to connect those checkbox values to database and retrieve from database. this is my part of my html code. <tr> <td>Professional Qualification <br /></td> <td style="height: 78px"> <input type="checkbox" name="Charted" …

Member Avatar for phpology
0
219
Member Avatar for nsam

Hi all, I am a completely new user of wordpress. Don't know I should post this over here or not. Can somebody please tell me this basic thing. How to insert data through wordpress in mysql.

Member Avatar for pzuurveen
0
160
Member Avatar for OsaMasw

I really don't know where to ask something like this, so sorry for this. I have an issue and I really don't know how to solve it. I have php "file upload script", which users uploading files all the times, now the server is nearly full an I want to …

Member Avatar for naphets
0
265
Member Avatar for ms061210

Hello guys, Please take a look at my code, coz I don't know why I cant login here in my log in form.By the way, my database is working, so the problem is in the code. looking forward for your help guys, here is my code: <?php session_start(); include("config.php"); ?> …

Member Avatar for homeboy
0
329
Member Avatar for josephbupe

Hi, Please, I am trying to open a details page from the main page item link as follows: Link on the main page: <td><a href=details.php?c_id=<?php echo ".urlencode($c_id)." ?> ><img src="./images/<?php echo $row['cfilename']; ?>" width="90" height="120" alt="" /></a></td> And the details.php page is: <?php $mysqli = new mysqli("localhost", "joseph", " ", …

Member Avatar for diafol
0
229
Member Avatar for printman55

I need help in using a variable passed in a hyperlink query string to do PHP query of a MySQL database. I want use the variable to query the database and return the unique row field data to display in a table The hyperlink is: [CODE]http://www.site.com/bios.php?pc=ab [/CODE] After connecting to …

Member Avatar for phpkiller123
0
551
Member Avatar for Venom Rush

Hi all I have a website that has a contact form in the footer of every page. When someone sumbits their details I do a check to see if the fields are filled in correctly. If the fields aren't filled in correctly I display an error just above the form. …

Member Avatar for Venom Rush
0
2K
Member Avatar for mehran tahir

hi, i face this problem from last three days, i want to disappear the alert box of javascript on time base, for example when page is load and the alert box is appear,i want to remove it after 10seconds if the user not press the ok button, thanks in advance

Member Avatar for jkon
0
275
Member Avatar for ptara1

I have a script that calls up a picture stored in a database. I then have a script that displays said picture on another page. If there is no picture in the database I would like for their to be a no picture icon displayed. New to php but I …

Member Avatar for ptara1
0
2K
Member Avatar for mbarandao

Hello: I have a mysql table which has following rows: id (unique and auto increment) platenumber customerid servicearea date I want to create a sql statement which essentially performs the following task: Pull from table_name the last inserted row where the customerid='mb6537'. There could be more than one row containing …

Member Avatar for phpology
0
81
Member Avatar for mtvaran

Hi guys, basically here pull out the data from database then creating taxt field automatically and submit into anther table. everything works fine but data not inserting in to the table. could you guys check my code please? [CODE]<?php $con = mysql_connect("localhost","root",""); mysql_select_db("uni", $con)or trigger_error('MySQL error: ' . mysql_error()); ?> …

Member Avatar for mtvaran
0
158
Member Avatar for rmullins

I'm new to making websites using PHP includes (normally everything would be Dreamweaver templates and library items). I'm still using DW templates, but all of the navigation, header and footer are all PHP includes. When I make a new page, say one directory inside of the root, DW automatically updates …

Member Avatar for chrishea
0
147
Member Avatar for nukabolhi

How can I get the values in Check box while loop in php. Pls give me some tips to get the values from the below php code. [CODE] $sql=mysql_query("select * from tree"); while ($result = mysql_fetch_array($sql)) { echo "<br>"; echo "<label> <input type=checkbox name=Test value=checkbox id=Test_0 > $result[fruit] | $$result[fruit_charges] …

Member Avatar for phpology
0
2K