Search found 35 matches

by Acesystech
Thu Sep 13, 2012 11:16 pm
Forum: PHP coding => General
Topic: Lost content after submit form
Replies: 0
Views: 536

Re: Lost content after submit form

Use this code

if(isset($_REQUEST['submit']))
{
$txtName = $_POST['txtName'];
$txtEmail = $_POST['txtEmail'];
$txtContent = $_POST['txtContent'];

// Insert data to database
}
by Acesystech
Thu Sep 13, 2012 11:13 pm
Forum: PHP coding => General
Topic: How to open Php file?
Replies: 1
Views: 568

Re: How to open Php file?

Use Adobe dreamweaver to open php files
by Acesystech
Thu Sep 13, 2012 10:59 pm
Forum: PHP coding => General
Topic: select query
Replies: 2
Views: 578

Re: select query

$query =mysql_qury("SELECT this FROM here WHERE this_is = 'that'");
$rowresult = $row['this'];
by Acesystech
Thu Sep 13, 2012 10:53 pm
Forum: PHP coding => General
Topic: PHP Form Doesn't Work When Submit !!
Replies: 0
Views: 507

Re: PHP Form Doesn't Work When Submit !!

There is no database connectivity.Thats why the form not working.
by Acesystech
Fri Aug 24, 2012 1:17 am
Forum: PHP coding => General
Topic: count how many users are online
Replies: 4
Views: 968

Re: count how many users are online

/* Start the session */ session_start(); /* Define how long the maximum amount of time the session can be inactive. */ define("MAX_IDLE_TIME", 3); function getOnlineUsers(){ if ( $directory_handle = opendir( session_save_path() ) ) { $count = 0; while ( false !== ( $file = readdir( $directory_handle...
by Acesystech
Wed Aug 22, 2012 4:39 am
Forum: mySQL & php coding
Topic: MySQL select statement not working
Replies: 4
Views: 1399

Re: MySQL select statement not working

Not sure..plz try this.. $id = $_GET['city']; $con1 = mysql_connect("localhost","lasith","lasith123"); if (!$con1){ die('Could not connect: ' . mysql_error()); } mysql_select_db("test", $con1); $cities = mysql_query("SELECT * FROM cities where name = '$id'") or die(mysql_error()); while($city = mysq...
by Acesystech
Wed Aug 22, 2012 4:29 am
Forum: mySQL & php coding
Topic: having problem in inserting data in mysql data base
Replies: 1
Views: 722

Re: having problem in inserting data in mysql data base

I think confirmcode field not found in Database.... :)
by Acesystech
Tue Aug 21, 2012 10:08 pm
Forum: mySQL & php coding
Topic: WHERE clause issue....
Replies: 7
Views: 1123

Re: WHERE clause issue....

change your query...

$sql = "SELECT * FROM drivers WHERE Team = '$Team'";
by Acesystech
Tue Aug 21, 2012 9:57 pm
Forum: PHP coding => General
Topic: PHP Not Sending Email
Replies: 1
Views: 363

Re: PHP Not Sending Email

hi... :) try this one.. <?php if (extract($_POST) > 0) { $to = 'capp.brandon@gmail.com'; $from = '$Name'; $subject = 'General Inquiry'; $headers =$headers .= "Content-type: text/html; charset=iso-8859-1rn"; $body = '<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR...
by Acesystech
Tue Aug 21, 2012 9:06 pm
Forum: PHP coding => General
Topic: PHP problem - please help
Replies: 1
Views: 585

Re: PHP problem - please help

}<!DOCTYPE HTML>

Remove the closing tag from line 28 :)
by Acesystech
Tue Aug 21, 2012 4:59 am
Forum: PHP coding => General
Topic: Need urgent help, MySQL database linking.
Replies: 8
Views: 1006

Re: Need urgent help, MySQL database linking.

hi.. jasmine... :)

check whether u set password for your host.if no keep password like (password="").
try it.. im not sure.... :(


****
by Acesystech
Tue Aug 21, 2012 4:50 am
Forum: PHP coding => General
Topic: Anyone knows
Replies: 1
Views: 366

Re: Anyone knows

Offshore deveopment company offering rich internet applications,Social media solutions and SEO services,offshore joomla experts,Wordpress experts,Bespoke Webdesign,Flash

plz visit our site:

www.acesystech.com
by Acesystech
Tue Aug 21, 2012 4:14 am
Forum: PHP coding => General
Topic: Need urgent help, MySQL database linking.
Replies: 8
Views: 1006

Re: Need urgent help, MySQL database linking.

hi.. jasmine. :)

try this..

$con = mysql_connect("localhost","root","1234");
if (!$con)
{

die('Could not connect: ' . mysql_error());
}

mysql_select_db("db name", $con);
by Acesystech
Tue Aug 21, 2012 3:10 am
Forum: PHP coding => General
Topic: Need urgent help, MySQL database linking.
Replies: 8
Views: 1006

Re: Need urgent help, MySQL database linking.

hi jasmin.. :) Try this one.. $hostname = 'localhost'; // MySQL hostname. $username = 'root'; // Database username. $password = '1234'; // Database password. $dbname = 'database'; // Database name. mysql_connect("$hostname", "$username", "$password")or die("cannot connect"); mysql_select_db("$dbname...
by Acesystech
Tue Aug 21, 2012 3:04 am
Forum: mySQL & php coding
Topic: Search Data from textbox in php
Replies: 5
Views: 1294

Re: Search Data from textbox in php

your query should be like this...
$sql= "select * from $table where DATE='{$_POST["submit"]}'";
$mydata=mysql_query($sql,$con);
by Acesystech
Tue Aug 21, 2012 2:45 am
Forum: PHP coding => General
Topic: PHP 5.3 + IIS6 + COM + MAPI
Replies: 1
Views: 424

Re: PHP 5.3 + IIS6 + COM + MAPI

Can you run it from the command line?

Try this piece of code:
com_load_typelib("Outlook.Application"); to register the constants.
by Acesystech
Tue Aug 21, 2012 1:30 am
Forum: PHP coding => Mail
Topic: HTML form to Email
Replies: 1
Views: 1038

Re: HTML form to Email

please try this...

$headers =$headers .= "Content-type: text/html; charset=iso-8859-1rn";