₦airaland Forum

Welcome, Guest: RegisterLoginWith GoogleTrendingRecentNew

Stats: 3,330,443 members, 8,445,493 topics. Date: Wednesday, 15 July 2026 at 07:37 AM

Toggle theme

DualCore1's Posts

Nairaland ForumDualCore1's ProfileDualCore1's Posts

1 2 3 4 5 6 7 8 ... 59 60 61 62 63 64 65 66 67 (of 371 pages)

WebmastersRe: Try This Simple Quiz. ** Solved ** ** Prize Awarded ** by DualCore1(op): 11:10am On May 31, 2011
Otuabaroku:
And the solution is:
<?php
$babes = array("angela", "patricia", "ella", "afrobaby", "yawa"wink;

$no_of_babes = count($babes);
?>
<p>
<?php
for($i=0;$i<$no_of_babes;$i++){
if($i==$no_of_babes-1)
{
?>
<a href="#"><?php echo $babes[$i] ?></a>.
<?php
}
else
{
?>
<a href="#"><?php echo $babes[$i] ?></a>,
<?php
}
}
?>
</p>
Correct smiley

Place an order with the link below and update this thread with your invoice number. Also update this thread with an explanation of the concept in your solution for the benefit of everyone.

https://www.trudigits.com/cart.php?a=add&pid=14


Quiz Solved


Others who have other ways of getting this solved do well to post.

My own solution is similar to the winner's, so his explanation should cover mine.

<?php
$babes = array("angela", "patricia", "ella", "afrobaby", "yawa"wink;

$no_of_babes = count($babes);
?>
<p>
<?php
for($i=0;$i<$no_of_babes;$i++){
?>
<a href="#"><?php echo $babes[$i] ?></a><span <?php if($i == $no_of_babes - 1){ ?>style="display:none"<?php } ?>>, </span><?php if($i == $no_of_babes - 1){ ?>.<?php } ?>
<?php

}

?>
</p>
WebmastersRe: Try This Simple Quiz. ** Solved ** ** Prize Awarded ** by DualCore1(op): 11:06am On May 31, 2011
sisqology:
<?php
$babes = array("angela",
"patricia", "ella", "afrobaby",
"yawa"wink;
$no_of_babes = count
($babes);
?>
<p>
<?php
for($i=0;$i<=$no_of_babes;$i+
+){
?>
<a href="#"><?php echo
$babes[$i] ?></a>,
<?php
}
?>
</p>
I ran this and this is what I am getting
angela, patricia, ella, afrobaby, yawa, ,
still not correct.
WebmastersRe: Try This Simple Quiz. ** Solved ** ** Prize Awarded ** by DualCore1(op): 7:23am On May 31, 2011
[quote author=yawa-ti-de link=topic=678858.msg8423052#msg8423052 date=1306795217]kai, na wa o! Dual, how did u become a coder? y rnt u a indecency star? tongue[/quote]LoL yawa, na tony spoil me grin


sisqology:
<?php
$babes = array("angela",
"patricia", "ella", "afrobaby",
"yawa"wink;
$no_of_babes = count
($babes);
?>
<p>
<?php
for($i=0;$i<$no_of_babes;$i+
+){
?>
<a href="#"><?php echo
$babes[$i] ?></a>.
<?php
}
?>
</p>
The output I am getting from your code is
angela. patricia. ella. afrobaby. yawa.
The correct output should be
angela, patricia, ella, afrobaby, yawa.
Modify your for() loop again bro and retry.
WebmastersRe: Try This Simple Quiz. ** Solved ** ** Prize Awarded ** by DualCore1(op): 9:50pm On May 30, 2011
abi o.
WebmastersRe: Try This Simple Quiz. ** Solved ** ** Prize Awarded ** by DualCore1(op): 9:10pm On May 30, 2011
I dont think the bots will worry since all thats to be done is a modification to the code I have already posted. The bots didnt touch me when I posted it. You can however put your codes in pastebin.com and post the link here.
WebmastersRe: Try This Simple Quiz. ** Solved ** ** Prize Awarded ** by DualCore1(op): 8:38pm On May 30, 2011
lol, after 24 hours if no beginner or intermediate gets it then you can post yours.
WebmastersTry This Simple Quiz. ** Solved ** ** Prize Awarded ** by DualCore1(op): 4:54pm On May 30, 2011
Difficulty level: I think its okay to say beginner  grin

Here's the quiz

<?php
$babes = array("angela", "patricia", "ella", "afrobaby", "yawa"wink;

$no_of_babes = count($babes);
?>
<p>
<?php
for($i=0;$i<$no_of_babes;$i++){
?>
<a href="#"><?php echo $babes[$i] ?></a>,
<?php
}
?>
</p>
The output of the above code gives me something like. . .
angela, patricia, ella, afrobaby, yawa,
Modify the for() loop to give me this
angela, patricia, ella, afrobaby, yawa.
In other words, the comma after "yawa" should be replaced with full stop cuz its the end of the list.

I don't think there's only one way of doing this so any way you think you can do this, do am.

Prize: First correct answer from a beginner wins the person a free hosting account and domain on the TruDigits Starter Plan, for one year. Terms, conditions and acceptable usage policies apply strictly.

P.S: sorry if you don't like the way i escape into html from php. I'm used to writing that way.
WebmastersRe: Please I Need Videos For Jquery And Ajax by DualCore1: 4:17pm On May 30, 2011
You can ask here, *dhtml is more likely to come out with a practical answer. Me I will come out with a Google'd answer grin
WebmastersRe: Please I Need Videos For Jquery And Ajax by DualCore1: 2:31pm On May 30, 2011
Not ma fault, cant take chances anymore and have to wait for unbanning grin
Imagine getting banned right in the middle of hot toasting for sexuality.
WebmastersRe: ^^^help On Getting A Domain And Uploading A Script I Already Have. Pls Help^^^ by DualCore1: 7:13pm On May 29, 2011
Would like to know a few things about your requirements, the kind of script this is and if its use is in conformity with the Terms of Service and Acceptable Usage Policy. Kindly visit http://www.trudigits.com anytime and talk with the chat agent online.

If you already have a host and feel like running off to somewhere else because you find it hard to upload your script there, you can state it here and lets see how we can help you with the upload on your present host.
WebmastersRe: Do You Write Codes With Or Without Your Wristwatch And Other Hand Attaches? by DualCore1: 4:43pm On May 29, 2011
Cool, how do you handle time management?
WebmastersRe: Do You Write Codes With Or Without Your Wristwatch And Other Hand Attaches? by DualCore1: 4:05pm On May 29, 2011
erm. . . if i sleep by 12am i will naturally wake up by 3am. If I sleep by 3am i will naturally wake up by 6-7 am.

I tried coffee just once for a project and it left my mind eff'd up for . . . cant remember how long but not trying coffee again.


How do you manage project development, wireframing?
WebmastersRe: Do You Write Codes With Or Without Your Wristwatch And Other Hand Attaches? by DualCore1: 2:34pm On May 29, 2011
LoL this is getting interesting. Got no issues with clothing. However, I can't code if things are in the wrong places in my place. Contrary to my yahoo messenger status I havnt done any serious work in 2 days cuz I've been so lazy to do laundry or clear the empty beer cans and juice packs. So, no work. By fire by force I go clean this place up NOW cuz I can't afford to slack on Monday. grin
WebmastersRe: Need Help On Html Mailto Form by DualCore1: 1:24pm On May 29, 2011
Hire a professional to get your task done.

Learn web design and development as it should be learned and in the natural sequence.
www.w3schools.com
If you have any questions during your learning process, feel free to come in here to search for answers.

It is embarrassing that this is getting into page two and still at the stage it is.

We may be doing this for the benefit of others who want to learn but at this stage if I came here to learn the form to email process, i'd be confused and frustrated by now.
WebmastersRe: Please I Need Videos For Jquery And Ajax by DualCore1: 5:45pm On May 28, 2011
I'm still at a loss as to how one learns programming through videos. Its not dreamweaver or a graphic software tutorial where you are told . . . to make this babe's gown transparent you goto Edit, click Effect, click Perv, click Transparent. Oh well I can see Lynda do that in the video and bam time to start taking photos of all the babes i drive past on the road.

This is programming. Raw, unforgiving codes. There's no better way in than to take a dive. And wherever you land you read the manual, like. . . pheeeeeew gbam! you've landed on php's mail() and you are like. . . WTF is this? I'm screwed. . . then you goto php.net and voila cheesy. Next thing I start getting mails from you with headers from ineedyoutonight@beyonce.com wink

That's how we roll dirty with the codes. cool

I think you should go hard and nasty with codes and tell them who's boss so the decision makers at Planet Bugzoid know the kinda bugs they'll be sending down your way. Not the kinda bug you get cuz you did this <a href="></a> and you are stuck cuz you dunno where in the video handled anchor tags.
WebmastersRe: Do You Write Codes With Or Without Your Wristwatch And Other Hand Attaches? by DualCore1: 5:24pm On May 28, 2011
I never take off my watch for any daily routine. It stays on my right hand for more than a month at once. I only take it off to adjust the date after a 30-day month. Its a wrist-fitted 2009 swatch irony and my wrist has adjusted to the chain's light weight.
I am claustrophobic so if for any reason i try to get the watch off and it doesn't come out I will panic. This has never happened but I know.

I dont have any other hand attachees, I feel a discomfort and irritation with rubber bands the few times i tried 'em.


Lol what an unusual thread.
Web MarketRe: Introducing The Trudigits "starter" Hosting Plan - 3,500 Naira Per Year by DualCore1(op): 6:40am On May 28, 2011
Take advantage of the more affordable starter plan smiley
Web MarketRe: Trudigits Startups Programme ( 3 Free Hosting Accounts Monthly). by DualCore1(op): 6:39am On May 28, 2011
Keep the entries coming smiley
WebmastersRe: Need Help On Html Mailto Form by DualCore1: 4:59pm On May 27, 2011
someone should teach *dhtml how to get babes and stop giving him babes grin
WebmastersRe: Free Jquery Mb.menu by DualCore1: 11:03am On May 27, 2011
WebmastersRe: Problem With Web4africa.net by DualCore1: 10:39am On May 27, 2011
Always on, invisible mode most times.
WebmastersRe: Problem With Web4africa.net by DualCore1: 8:47pm On May 26, 2011
I just saw a transcript of your conversation. Hope you didn't get scared. What is to happen on the second week in June is a scheduled job to enable VPS clients create and resell VPS servers.

If you got any questions you can hit me up on yahoo chat.



Try to keep an eye on the defaulting site to know whats taking up resources. If you do know already, kill the processes from your WHM interface.
WebmastersRe: Problem With Web4africa.net by DualCore1: 7:41pm On May 26, 2011
Get a VPS, yes. But not just any VPS. Ask for logs showing your CPU usage and what processor the server is on to have an overview of the amount of resources your site uses. Ask your present host on professional advice.

That being said, I don't think it is a fair policy to shut anyone out of business without prior warnings when its not issues having to do with fraud. This is where customer advisory practices comes in. There's nothing wrong in showing a client his site resource usage stats and providing professional advice to upgrade . . . while the site still runs. If the site is running processes that can cause fatal consequences those processes can be killed and blocked . . . at least the site is still up. Its a win-win situation. Client's site stays alive and host gets one more VPS customer.

Resellers and owners of other higher classes of hosting should be seen as webhosting partners and not just clients like the shared hosting dudes. When something goes wrong on a reseller's account there's likely to be a chain reaction. Owner of site holds webmaster, webmaster holds reseller and then reseller faces upstream provider. At each point of the chain the one held is seen as the "upstream" and at fault.

Lets try to salvage as much of the Nigerian clients as we can with good practices and incentives (that they wont get from the "foreign" hosts but they dont know). I don't think it makes any Nigerian host service provider happy to see those threads on this board with requests for good "foreign" hosts thinking there has to be some brighter light across the Nigerian borders.
WebmastersRe: Need Help On Html Mailto Form by DualCore1: 12:56pm On May 26, 2011
the html mailto thing assumes you use outlook so it open outlook with a prefilled compose window for you to send your mail.
This is not yawa is talking about. Yawa is to talking about using PHP's mail(). Google it. It will be a sin for me to write yet another form to email script here for you.
ProgrammingRe: Is There Any Chance That A Female Can Become A Very Good Programmer by DualCore1: 9:00pm On May 25, 2011
Typical romance thread.

Frontpage  angry


Outta here mehn, thread has lost its sense.
If only people could just shut up and let those in the field drop steps to help this lady climb her way through the bug infested ladder.


If the lady wanted general opinion on what a lady can do, she would know to hit the Romance section and face the typical crap that accompanies the section.

She came here cuz she wanted something more specific and thanks to the frontpage the romance crap made its way into this very quiet, peaceful and professional den.
ProgrammingRe: Is There Any Chance That A Female Can Become A Very Good Programmer by DualCore1: 7:19pm On May 25, 2011
Ha!!! My gf just proved that women can be programmers o!
See Barrister dey tell me about margins and php includes grin


erm. . . dim_kyky this doesnt change anything between us kiss
WebmastersRe: Please Compare These Hosting Providers For Me by DualCore1: 6:36pm On May 25, 2011
Years back I started the webhosting business as a Reseller with webhostingbuzz.com.
Then as clientbase increased I moved on to a VPS still with them. More increase and I got a managed dedicated server from ovh.co.uk.
More increase came and I had to set up a proper webhosting company with 24/7 online support. I also moved to new unmanaged servers which i have been on for over a year with no downtime. So I went from a reseller some years back to a full webhosting firm with its own collocated servers.

I will recommend webhostingbuzz.com for those who have lost faith in the Nigerian hosting industry, its not your fault.

1 2 3 4 5 6 7 8 ... 59 60 61 62 63 64 65 66 67 (of 371 pages)