Search Results

Showing results 1 to 20 of 20
Search took 0.01 seconds.
Search: Posts Made By: manish.s
Forum: PHP Dec 25th, 2008
Replies: 2
Views: 1,264
Posted By manish.s
$qry="SELECT id, member, math, bathmos FROM bathmoi";
$handle=mysql_query($qry);

echo '<textarea name="show" rows="20" cols="70" readonly="readonly">';


if(mysql_num_rows($handle) > 0)
{

...
Forum: PHP Dec 24th, 2008
Replies: 7
Views: 559
Posted By manish.s
use the function eregi_replace();

eregi_replace ( string $pattern , string $replacement , string $string )
Forum: PHP Dec 24th, 2008
Replies: 17
Views: 957
Posted By manish.s
<?php


if($_POST['submit'] == "Submit")
{

$name = $_POST['name'];
$email = $_POST['email'];
$contact = $_POST['contact'];
$textbox = $_POST['textfield'];
Forum: PHP Dec 24th, 2008
Replies: 8
Views: 609
Posted By manish.s
try this code....


$cnt = 1;
$number_of_image_per_row = 6;
$width = 50; //Define image width
$height = 50 //Define image height

foreach(ListMyFiles('includes/',$MySearchFile) as $file_name)...
Forum: PHP Dec 23rd, 2008
Replies: 17
Views: 957
Posted By manish.s
I think you will have to make two tables (use normalization of table)

1. car_owner

id (primary key, Auto incr.)
name
email
contact

2. car_registration
Forum: PHP Dec 23rd, 2008
Replies: 14
Views: 1,439
Posted By manish.s
If still u are getting error try this code in place of header("location:thankyou.php");



echo "<script language='JavaScript'>
location.href='thankyou.php';
</script>";
Forum: PHP Dec 23rd, 2008
Replies: 17
Views: 957
Posted By manish.s
<?php

if($_POST['submit'] == "Submit")
{
$textbox = $_POST['textfield'];

if(is_array($textbox))
{
foreach($textbox as $textkey=>$textvalue)
{
Forum: PHP Dec 23rd, 2008
Replies: 17
Views: 957
Posted By manish.s
Please let me know structure of your table.
Forum: PHP Dec 23rd, 2008
Replies: 17
Views: 957
Posted By manish.s
Do you want same out put using jquery ?
if yes i will be happy to help...
Forum: PHP Dec 23rd, 2008
Replies: 14
Views: 1,439
Posted By manish.s
try this...


$mail_sent = mail($to, $subject, $message, $headers);

if($mail_sent)
{
header("location:thankyou.php");
}
Forum: PHP Dec 23rd, 2008
Replies: 17
Views: 957
Posted By manish.s
Always Welcome....
Forum: PHP Dec 23rd, 2008
Replies: 17
Views: 957
Posted By manish.s
<html>
<head>
<script language="JavaScript">
function make_textbox(no)
{
if(no < 1)
return false;

var my_textbox = "";
Forum: PHP Dec 23rd, 2008
Replies: 14
Views: 1,439
Posted By manish.s
Optimized code...


$service = $_POST['service'];

if(is_array($service))
{
$message .= "Type of Service needed:" .implode(", ",$service). "\n";
}
Forum: PHP Dec 23rd, 2008
Replies: 14
Views: 1,439
Posted By manish.s
$service = $_POST['service'];

if(is_array($service))
{
$comma = "";
$service_type = "";

foreach($service as $value)
{
$service_type .= $comma.$value;
Forum: PHP Dec 23rd, 2008
Replies: 8
Views: 609
Posted By manish.s
<?php

function isImage($fileName)
{
$ext = substr(strrchr($fileName, '.'), 1);

if($ext <> "")
{
$ext = strtolower($ext);
switch($ext)
Forum: PHP Dec 23rd, 2008
Replies: 5
Views: 418
Posted By manish.s
<?php

function isImage($fileName)
{
$ext = substr(strrchr($fileName, '.'), 1);

if($ext <> "")
{
$ext = strtolower($ext);
switch($ext)
Forum: PHP Dec 21st, 2008
Replies: 4
Views: 1,399
Posted By manish.s
<html>
<body>

<?php

$display_form = true;

if($_POST['submit']=="Submit")
{
if(trim($_POST['my_text'])=="")
Forum: MySQL Dec 21st, 2008
Replies: 3
Views: 507
Posted By manish.s
select user_id,user_name,if(reg_date="","20th December 2008",reg_date) as 'Reg. Date' from users

where user_id = Unique User ID
user_name = Store User Name
Forum: PHP Dec 21st, 2008
Replies: 3
Views: 397
Posted By manish.s
Aamit,

If condition will be "if($num>0)"
Forum: MySQL Dec 21st, 2008
Replies: 3
Views: 507
Posted By manish.s
please let me know the data type of field "reg_date".
Showing results 1 to 20 of 20

 


About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC