₦airaland Forum

Welcome, Guest: RegisterLoginWith GoogleTrendingRecentNew

Stats: 3,325,149 members, 8,420,562 topics. Date: Friday, 05 June 2026 at 01:46 AM

Toggle theme

Eniga's Posts

Nairaland ForumEniga's ProfileEniga's Posts

1 2 (of 2 pages)

Nairaland GeneralRe: The Programming Section Of Nl Is Now Bloody Worthless by Eniga(m): 12:25pm On May 16, 2011
i volunteer to be a mod for the computer and IT section
My pride needs to shine again







-------------------------------------------------------------------------
There is no knowledge that is not power
Tech JobsRe: School Management Software! Anybody? by Eniga(m): 12:18pm On May 16, 2011
contact eyekay234@gmail.com or 08091734627. he can have one for u in a few hours on request
Tech JobsRe: I Need A Young Php Programmer,plz Call 07065771217,07036074869 by Eniga(m): 12:09pm On May 16, 2011
send me a mail, hyuugaeniga@gmail.com for instant response
Tech JobsRe: Need An Event Booking Website Urgently by Eniga(m): 12:02pm On May 16, 2011
send me the details and i can have a sample up for you in a few hours
hyuugaeniga@gmail.com
WebmastersRe: Help With Html/php Form Preview by Eniga(m): 6:51pm On Apr 05, 2011
@OP

If you're using version PHP 5 and above, use this code below

IF (($_POST[staffs] == "staff_no"wink)
{
$query = "Next Staff";
}

$query = "SELECT * FROM staffs WHERE s_no = $_POST[staffs]";
$sql = mysqli_query($query) or die(mysqli_error());

$output = '';

while ($row = mysqli_fetch_array($sql)) {
extract ($row);

// Note $id = $row[id], that is all values are converted to variables
}

if u need a hand email me ur php file and tell me wat u want to do and i'll have the code back to you in a few minutes
eniga@ovi.com
WebmastersRe: Help With Html/php Form Preview by Eniga(m): 4:31pm On Apr 05, 2011
if (($_POST['staffs'] == "staff_n0"wink) {
$queryMsg = "next staff";
}

$sql = mysql_query("SELECT id, s_n0, s_name, s_address, s_city, s_state, s_zip, s_country, s_email, s_phone, s_pay FROM staffs"wink or die (mysql_error());

$output = '';
while($row = mysql_fetch_array($sql)){

$id = $row["id"];
$s_n0 = $row["s_n0"];
$s_name = $row["s_name"];
$s_address = $row["s_address"];
$s_city = $row["s_city"];
$s_state = $row["s_state"];
$s_zip = $row["s_zip"];
$s_country = $row["s_country"];
$s_email = $row["s_email"];
$s_phone = $row["s_phone"];
$s_pay = $row["s_pay"];
}

@poster, you made a mistake from the beginning of your code, you did not assign your variable but placed it in an IF statement, use this code below


if (($_POST['staffs'] == "staff_n0"wink) {
$queryMsg = "next staff";
}

$query = "SELECT id, s_n0, s_name, s_address, s_city, s_state, s_zip, s_country, s_email, s_phone, s_pay FROM staffs WHERE s_no = '$_POST[staffs]'";
$sql = mysql_query($query) or die (mysql_error());

$output = '';
while($row = mysql_fetch_array($sql)){

$id = $row["id"];
$s_n0 = $row["s_n0"];
$s_name = $row["s_name"];
$s_address = $row["s_address"];
$s_city = $row["s_city"];
$s_state = $row["s_state"];
$s_zip = $row["s_zip"];
$s_country = $row["s_country"];
$s_email = $row["s_email"];
$s_phone = $row["s_phone"];
$s_pay = $row["s_pay"];
}
PhonesRe: What Is Your Download Speed On Your Phone? by Eniga(m): 2:34pm On Apr 05, 2011
I get 260kb/s on my blackberry bold 2 with mtn 3G, while i get 390kb/s with my nokia n97 with airtel 3G
PoliticsRe: Why You'll Never Vote For Goodluck Jonathan? by Eniga(m): 2:04pm On Apr 05, 2011
GEJ is just a drunk fisherman, who doesnt even have any vision or goals.
How can we have a president who cannot even identify our key problems.

BB all the way
ProgrammingRe: Should We Have "programmers' Conference" In Nigeria? by Eniga(m): 9:44am On Mar 10, 2011
i'm an advanced web programmer and it specialist. would be interested. keep all posted
ProgrammingRe: Game Development: Join The Team by Eniga(m): 9:42am On Mar 10, 2011
Eniga
hyuugaeniga@googlemail.com
PHP/MYSQL (PRO)
JAVA (BASIC)
JQUERY/JAVASCRIPT (INTERMEDIATE)
PHOTOSHOP (INTERMEDIATE)
FLASH (INTERMEDIATE)
C# (INTERMEDIATE)
PERL/CGI (PRO)
NETWORK PROGRAMMING (INTERMEDIATE)
MICROSOFT SERVER 2008 ADMINISTRATION(PRO)
ORACLE ADMINISTRATION (INTERMEDIATE)
PhonesRe: Browsing Using Opera 8.65 Using Access Wap by Eniga(m): 11:07am On Aug 22, 2008
guys please i would need someone to help me with the free mtn settings. i'm presently using celtel mms but its got this download limit of 200kb. even though i don't download much but i need to get some files of 700kb - 900kb. can anyone please help out. my email addy is beiginsly@yahoo.com or 08027155479. thanks man
PhonesRe: Pls Help On My Connection To My System by Eniga(m): 11:02am On Aug 22, 2008
if u are going to use access wap on ur system, u most set up the proxy address on ur internet settings connection box. that is open internet explorer, go to tools, click internet options --> click on connections --> then the phone modem --> then settings --> the enter in the proxy address which is 172.018.254.005 port no. 8080.
thats is presently what i'm using to send this post.
enjoy!
There is only one!

1 2 (of 2 pages)