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
~8K People Reached
About Me

what do you want to know?

Interests
web & software development and Networking
Favorite Tags
Member Avatar for kingwash

<?php error_reporting(E_ALL ^ E_DEPRECATED); // connection to database include 'database.php'; ?> <?php if (isset($_FILES['image']) && $_FILES['image']['size'] > 0) { //// Temporary file name stored on the server $tmpName = $_FILES['image']['tmp_name']; // // Read the file $fp = fopen($tmpName, 'r'); $data = fread($fp, filesize($tmpName)); $data = addslashes($data); fclose($fp); } $name=$_POST['name']; $email=$_POST['email']; …

Member Avatar for AndrisP
0
352
Member Avatar for NOVICE3

I am trying to load text into a form (textarea) from an existing text file resident on the server. I am having no luck. The code I am using (with variations) is: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html><head><title>SVP Data</title> <link rel="stylesheet" href="main.css"/> </head> <body style="background-color:#FFFFFF"> <title>oakhurstsvp.org</title> <link …

Member Avatar for kingwash
0
2K
Member Avatar for kingwash

'database connection class file '------------------------------------------------------- Imports Oracle.DataAccess.Client Imports System.Data Public Class DataBaseConnection Private con As New OracleConnection ReadOnly Property connection() As OracleConnection Get Return con End Get End Property Sub New() con.ConnectionString = System.Configuration.ConfigurationManager.AppSettings("DBconnection") con.Open() End Sub Sub closeConnection() con.Close() con.Dispose() End Sub End Class '////////////////////////////////////// 'staff class file '-------------------------------------- …

Member Avatar for abelingaw
0
286
Member Avatar for kingwash

<?php $b=('some data from db') class one{ public $a=$b; } i want to initialize the $a with a variable outside the class, but it is not working. Please how can do this. Thanks in advace

Member Avatar for diafol
0
130
Member Avatar for kingwash

class booking_diary { // Time Related Variables $a="09:30"; $b="19:00"; public $booking_start_time = $a; public $booking_end_time = $b; } I have an input fields where the user will set the $a,and $b fields instead of fixing the dates in the code. Can i do this. Please help. Thank you

Member Avatar for minitauros
0
141
Member Avatar for kingwash

//exporting to csv file. // this is my code. <?php // Database Connection $host="localhost"; $uname="root"; $pass=""; $database = "db_name"; $connection=mysql_connect($host,$uname,$pass); echo mysql_error(); //or die("Database Connection Failed"); $selectdb=mysql_select_db($database) or die("Database could not be selected"); $result=mysql_select_db($database) or die("database cannot be selected <br>"); // Fetch Record from Database $output = ""; $table = …

Member Avatar for chaitu11
0
3K
Member Avatar for kingwash

I have three fields in the database table(**serial_no,arrive_date,written_date**).My problem is if **serial_no and arrive_date** already exist in the database, it show say"data already exist". Though **serial_no and arrive_date** already exist but with a different **written_date**, then the data should be inserted into the database. Example ID Serial_no Arrive_date Written_date 1 …

Member Avatar for diafol
0
162
Member Avatar for kingwash

Hi people, i'm new to php and i have this problem: I am developing an application for an insurance company in php. I have 6 tables linked together by a common id in a database. Applicant or user need so register before loging in.When they login,they fill in a form …

Member Avatar for iamthwee
0
2K