you can add wxtract function in the end ;)
$query = "SELECT * FROM hcffres WHERE residentid = $var";
$result = mysql_query($qu ery);
$row = mysql_fetch_arr ay( $result );
extract($row;
echo 'other stuffs';
echo '<input type="text" name="name_goes _here" value="$column_ name_here"/>';...
User Profile
Collapse
-
I have one way how to do it, its long but for me it works ;)
i hope it will work for u!
input is 2007-04-09 and output is 09-April-2007
php code is [php]<?php
$date = "2007-04-09";
$explodedate = explode("-", $date);
$year = $explodedate[0];
$month = $explodedate[1];
$day = $explodedate[2];
if ($month == 01) { $month1 = 'Jan'; }
if ($month == 02) { $month1...Leave a comment:
No activity results to display
Show More
Leave a comment: