₦airaland Forum

Welcome, Guest: RegisterLoginWith GoogleTrendingRecentNew

Stats: 3,324,998 members, 8,419,863 topics. Date: Thursday, 04 June 2026 at 04:21 AM

Toggle theme

Wavemaster's Posts

Nairaland ForumWavemaster's ProfileWavemaster's Posts

1 (of 1 pages)

TravelRe: Happening Clubs At Victoria Island by wavemaster(m): 3:37pm On May 05, 2011
You can also checkout for Movida Nightclub.

Address: 18 Idowu Taylor, Victoria Island.
For more info, visit: http://www.movida-ng-lagos.com
ProgrammingRe: Insert Not Working by wavemaster(m): 9:12pm On Apr 19, 2011
To determine future date and month

$24hrFromNow= time()*(60*60*24);

$date= date("d", $24hrFromNow); // This will return 20

$Month= date("m", $24hrFromNow); // This will return 4

$DateMonth= date("m-d", $24hrFromNow); // This will return 20-04

$DateMonthYear= date("m-d-Y", $24hrFromNow); // This will return 20-04-2011

Hope this also helps.
Best regards.
ProgrammingRe: Insert Not Working by wavemaster(m): 8:52pm On Apr 19, 2011
TRY THIS
$conn= mysql_connect('localhost', 'root', ""wink;

// oodb should be in form of "oodb" or $oodb
// Use this
mysql_select_db("oodb", $conn);
// or this
mysql_select_db($oodb, $conn);

// Note: Authentication is needed to select a database.

// For the SQL syntax
$query = "INSERT INTO oocust
VALUES ('$pd', '$payrec', '$ordernum', '$invnum', '$bname', '$bstreet', '$bstate', '$bcity', '$bzip', '$sname', '$sstreet', '$sstate', '$scity', '$szip', '$contact', '$terms', '$fob', '$shipdate', '$shipamt', '$dateord', '$datecomp', '$duedate', '$datepaid', '$qty', '$descr', '$charges', '$paidamt', '$dayslate', '$tax', '$amtdue', '$paidsum')";

// Use this
$stat=  mysql_query($query, $conn);
if($stat) {
   echo 'Successful';
} else {
   die('Query failed: ' . mysql_error());
}
// Or this
mysql_query($query, $conn) or die('Query failed: ' . mysql_error());
// =========

mysql_close();


Hope this help.
ProgrammingRe: Phone Number Validation by wavemaster(m): 5:16pm On Apr 19, 2011
Or you can try this:

<?php
$phone= '07062999765';

// Remove initial "0" if the phone number starts with zero
if(substr($phone, 0, 1)== 0) {
$phone= substr($phone, 1);
}
// Now you can insert 234 at the beginning if it does not start with 234
if(substr($phone, 0, 3)!= 234) {
$phone= '234'.$phone;
}

// Have a nice day
?>
WebmastersRe: Urgently Need A Finished Website. by wavemaster(m): 12:24am On Apr 19, 2011
This kind of request is absolutely impossible, if truly you want a genuine website.

You need to state what the site should be all about, then, it will be developed for you.
There should be no rush about it.
WebmastersRe: Pls Review This Site by wavemaster(m): 12:16am On Apr 19, 2011
1) The login form would look better it had horizontal spacing before and after
2) The DropDown menu bar also needs horizontal spacing.
3) It would be nice if you place the main table of the page on center alignment.

You can contact me for more info via 07062999765

Best regards.
WebmastersRe: A Dating Site by wavemaster(m): 7:00pm On Apr 16, 2011
I suggest you build it from scratch.

HTML, JavaScript and PHP would be enough.

1 (of 1 pages)