₦airaland Forum

Welcome, Guest: RegisterLoginWith GoogleTrendingRecentNew

Stats: 3,325,134 members, 8,420,509 topics. Date: Thursday, 04 June 2026 at 10:49 PM

Toggle theme

Analogiphone's Posts

Nairaland ForumAnalogiphone's ProfileAnalogiphone's Posts

1 2 3 4 5 (of 5 pages)

PoliticsRe: Pics: Between Oby Ezekwesili And Bukola Saraki by analogiphone: 6:11pm On Oct 21, 2015
Madam Oby is loosing it, not sure she had twitter when the president and his party summoned apc law makers to a different location on the date of inauguration, holding the country to ransom.

Rubbish, she's about resuming her rant now because the ministerial nomination is over and no show for buhari side.
BusinessRe: Football(+ Other Sports) Betting Season 9 by analogiphone: 12:34pm On Sep 26, 2015
Please what is wrong with merrybet site, i made deposit to their bank account and i can't submit information online for them to credit me, keep saying site is down,who else is experiencing this problem?
HealthRe: Help !!! Help Save Light; A Great Fighter by analogiphone:
Transferred 10k via GT internet banking, also shared on my facebook and someone promised to send 3,000 or 5,000 i guess that will be Monday when banks are opened.
HealthRe: Help !!! Help Save Light; A Great Fighter by analogiphone: 12:26am On Sep 26, 2015
ayolight:
someone just sent anoda 2k. God bless u sir
Will be sending 10k in the morning and post this on my facebook if anyone there can be of assistance as well.

God see you and your family through.
WebmastersRe: Urgent Help To Display Data In Php by analogiphone(op): 8:29am On Sep 24, 2015
Adesege:
I have worked on it but was banned while replying your message.

Will share the editted code with you once I change to pc mode as I'm on my phone now.

Barka de salah
Thanks my oga
WebmastersRe: Urgent Help To Display Data In Php by analogiphone(op): 10:24am On Sep 23, 2015
Adesege:
What code is this for? For verifying I a user is logged in? Or for logging a user in?

Nevertheless, what's the name of the table holding the date, time, and activity column? And what code have you tried in that respect?
I want to display both the table and other details on the page, but problem is i practice both of them differently, the table is mysqli while other record i intend to display is mysql, don't know how i can display both of them.
WebmastersRe: Urgent Help To Display Data In Php by analogiphone(op): 10:23am On Sep 23, 2015
Adesege:
What you want is to spool out all the records in a table, say user_activity, holding a user's activity on your website.

Having columns:

ID - table ID for user_activity
user_id - for the user who initiated the activity.
date (datetime type) - when the activity was made.
title - subject for the activity.

But is there any code you have tried so I can improve on it?
My oga please still waiting to hear from you
WebmastersRe: Urgent Help To Display Data In Php by analogiphone(op): 7:58am On Sep 23, 2015
And here is the code that gave me this result, i'm now having problem displaying this on the same page with the code i gave before so that when a user put in the ID this table will display on the user page including other information.

<!DOCTYPE html>
<html>
<head>
<style>
table, th, td {
border: 1px solid black;
}
</style>
</head>
<body>

<?php
$servername = "localhost";
$username = "root";
$password = "";
$dbname = "works";

// Create connection
$conn = new mysqli($servername, $username, $password, $dbname);
// Check connection
if ($conn->connect_error) {
die("Connection failed: " . $conn->connect_error);
}

$sql = "SELECT Date, Current_Status FROM delivery";
$result = $conn->query($sql);

if ($result->num_rows > 0) {
echo "<table><tr><th>Date</th><th>Current Status</th></tr>";
// output data of each row
while($row = $result->fetch_assoc()) {
echo "<tr><td>". $row["Date"]. " </td><td>" . $row["Current_Status"]. "</td></tr>";

}
echo "</table>";
} else {
echo "0 results";
}

$conn->close();
?>

</body>
</html>
WebmastersRe: Urgent Help To Display Data In Php by analogiphone(op): 7:55am On Sep 23, 2015
Here is what I could come up with

WebmastersRe: Urgent Help To Display Data In Php by analogiphone(op): 8:23pm On Sep 22, 2015
Adesege:
What you want is to spool out all the records in a table, say user_activity, holding a user's activity on your website.

Having columns:

ID - table ID for user_activity
user_id - for the user who initiated the activity.
date (datetime type) - when the activity was made.
title - subject for the activity.

But is there any code you have tried so I can improve on it?
I've tried some, though now on my phone as I had to leave my computer when I could not fix it, been on it since mornin
WebmastersRe: Urgent Help To Display Data In Php by analogiphone(op): 8:20pm On Sep 22, 2015
Adesege:
What code is this for? For verifying I a user is logged in? Or for logging a user in?

Nevertheless, what's the name of the table holding the date, time, and activity column? And what code have you tried in that respect?
Yes this login the user by id before having access to user side, though this is not the real project I have to do this deprecate my so I don't mix up work

I have not created a table for time and date and that is why I'm confused.

I don't know how to create it in db and display it as to put in into columns ( date and current stAtus ) as for the code I've tried lots both from w3school and other materials none seems to be fixing my issues as in displaying data inside html table, like I said this table will just be part of the information to display on the user side.

The code there logged in the user, which I have done successfully, but only part I'm having issues is the table.

Also the time/date don't need be in any format, I can always write them out from the database for it to display at the user end, just code displaying the table and the update I will be doing at the users side is what I nedd
WebmastersRe: Urgent Help To Display Data In Php by analogiphone(op): 7:50pm On Sep 22, 2015
Adesege:
I know it's php but what php code have you tried?

No one will spoon feed you like I said if you haven't tried any code.
Thanks bros, this is the code displaying the datas from my database.

<?php

if (isset($_POST['submit'])){

$id=$_POST['usr_id'];

//connecttion to the database

mysql_connect('localhost', 'root' , '');

mysql_select_db('datas');

$query = mysql_query("SELECT * FROM users WHERE id='$id'"wink;

//turn the query into an array so as to access the values from the array key.

$row = mysql_fetch_array($query);

//var_dump($row);
$layout='<div class="container">';
echo "<p>ID: .$row[id]</p>".'</br>';
echo "<p>Your first Name : .$row[Firstname]</p>".'</br>';
echo "<p>Your password : .$row[password]</p>".'</br>';
echo "<p>Your Last Name : .$row[Lastname]</p>".'</br>';
echo "<p>Your Email : .$row[email]</p>".'</br>';

$layout.='</div>';


}
Have tried losts of code to put the record inside a table.
WebmastersRe: Urgent Help To Display Data In Php by analogiphone(op): 6:18pm On Sep 22, 2015
Php
WebmastersRe: Urgent Help To Display Data In Php by analogiphone(op): 5:17pm On Sep 22, 2015
Where are the gurus, make una help me Na
WebmastersRe: Urgent Help To Display Data In Php by analogiphone(op): 4:41pm On Sep 22, 2015
I want to display this table with other information on the users page.
WebmastersRe: Urgent Help To Display Data In Php by analogiphone(op): 4:40pm On Sep 22, 2015
Bros this is what I mean

WebmastersRe: Urgent Help To Display Data In Php by analogiphone(op): 4:37pm On Sep 22, 2015
onyengbu:
which one is which. Just seprte and identify them properly.
One more thing is the date lredy formatted in the formt you posted in your first post.
Do you mean the connection?

servername = "localhost";
username = "root";
password = ""( Didn't set password for my db);
dbname = "mywork";

The date is not really important, i can set it as text and write it our my self.

All i need is how i can bring out the table with php and insert the record inside and the user from the other end when log in to the account will see the information.

Like in the picx below
TravelRe: The Hotel Room That Cost N11.1m Per Night by analogiphone: 3:42pm On Sep 22, 2015
nabiz:
Lol how much is 11k. I have paid 15k per night for 5 weeks. The funny thing is that I only spend 9hours per day(just to sleep) in the hotel
15k dollar?
TravelRe: The Hotel Room That Cost N11.1m Per Night by analogiphone: 3:32pm On Sep 22, 2015
Carry person destiny take sleep for only one night?
WebmastersRe: Urgent Help To Display Data In Php by analogiphone(op): 3:28pm On Sep 22, 2015
onyengbu:
How did you save the 'Current Date' and 'Status' in your database. What is the exact name you gave them and what is the name of your connection to the database?
Thanks boss.

Reg_date current stamp.

Connection "localhost" "root" "" ( no password )

I will display the users record but not in the table.

What I want in table is just be able to update the date and current status of what they will be doing.
WebmastersRe: Urgent Help To Display Data In Php by analogiphone(op): 3:11pm On Sep 22, 2015
Wey all the gurus now
WebmastersUrgent Help To Display Data In Php by analogiphone(op): 2:26pm On Sep 22, 2015
Please I need the php code to display this table and input datas in it from my data base.

Please I'm new to web design and I've been trying work on this all day.

I want when a user login to my the site, I'm going to display their datas in this table and show on their page.

E.g

Seuns record
Date. Current Status
02/09/2015 I display whatever record here
18/09/2015. I display the datas
22/09/2015 I display the datas

I will keep updating this record on the users page.

Please I need your urgent help on this

I need go know how to echo the information I wish to place and the table with table rows. Please the php syntax is what I need

Gurus abeg make una help me

CelebritiesRe: 2face Idibia Is 40yrs Today ( Happy Birthday ) by analogiphone: 12:14pm On Sep 18, 2015
Tubaba Hbd
PoliticsRe: Buhari’s Blue Print: ‘my First 100 Days In Office by analogiphone: 8:30am On Aug 30, 2015
Femi Adesina, special adviser to President Muhammadu Buhari on media and publicity, says the president never promised to make his assets publ

https://www.youtube.com/watch?v=zzeu_Uum7Og&feature=youtu.be

http://newswirengr.com/2015/08/14/buhari-never-said-he-would-declare-his-assets-publicly-apc-did-says-presidency/?utm_source=&utm_medium=twitter
PoliticsRe: Buhari’s Blue Print: ‘my First 100 Days In Office by analogiphone: 8:19am On Aug 30, 2015
Obiagelli:
Corruption and Governance

No matter how vast our resources, if they are not efficiently utilized, they will only benefit a privileged few, leaving the majority in poverty. I believe if Nigeria does not kill corruption; corruption will kill Nigeria.

I pledge to:

· Publicly declare my assets and liabilities and encourage my political appointees to also publicly declare their assets and liabilities.


· Affirm that our strategy for tackling corruption will not only focus on punishment. Rather, it will also provide incentives for disclosure and transparency.

· Show personal leadership in the war against corruption and also hold all the people who work with me to account.

· Inaugurate the National Council on Procurement as stipulated in the Procurement Act so that the Federal Executive Council, which has been turned to a weekly session of contract bazaar, will concentrate on its principal function of policy making.

· Review and implement audit recommendations by Nigeria Extractive Industries Transparency Initiative (NEITI).

· Work with the National Assembly towards the immediate enactment of a Whistle Blower Act.

· Work with the National Assembly to strengthen ICPC and EFCC by guaranteeing institutional autonomy including financial and prosecutorial independence and security of tenure of officials.

· Make the Financial Intelligence Unit (FIU) an autonomous and operational agency.

· Encourage proactive disclosure of information by government institutions in the spirit of the Freedom of Information Act.

· Ensure all MDAs regularly comply with their accountability responsibilities to Nigerians through the National Assembly.

· Work with the leadership of the National Assembly to cut down the cost of governance.

· Present a national anti-corruption Strategy.

Cc: obiageli, Gbawe, berem, beremx, dayo23, omenka, passingshot, egift, Ngeneukwenu and co please take position.
PoliticsRe: Buhari’s Blue Print: ‘my First 100 Days In Office by analogiphone: 8:14am On Aug 30, 2015
Obiagelli:
Corruption and Governance

No matter how vast our resources, if they are not efficiently utilized, they will only benefit a privileged few, leaving the majority in poverty. I believe if Nigeria does not kill corruption; corruption will kill Nigeria.

I pledge to:

· Publicly declare my assets and liabilities and encourage my political appointees to also publicly declare their assets and liabilities.

· Affirm that our strategy for tackling corruption will not only focus on punishment. Rather, it will also provide incentives for disclosure and transparency.

· Show personal leadership in the war against corruption and also hold all the people who work with me to account.

· Inaugurate the National Council on Procurement as stipulated in the Procurement Act so that the Federal Executive Council, which has been turned to a weekly session of contract bazaar, will concentrate on its principal function of policy making.

· Review and implement audit recommendations by Nigeria Extractive Industries Transparency Initiative (NEITI).

· Work with the National Assembly towards the immediate enactment of a Whistle Blower Act.

· Work with the National Assembly to strengthen ICPC and EFCC by guaranteeing institutional autonomy including financial and prosecutorial independence and security of tenure of officials.

· Make the Financial Intelligence Unit (FIU) an autonomous and operational agency.

· Encourage proactive disclosure of information by government institutions in the spirit of the Freedom of Information Act.

· Ensure all MDAs regularly comply with their accountability responsibilities to Nigerians through the National Assembly.

· Work with the leadership of the National Assembly to cut down the cost of governance.

· Present a national anti-corruption Strategy.

Obiageli what now?
PoliticsRe: Oyegun: Henceforth APC Will Be More Involved In Buhari's Appointments by analogiphone: 8:00am On Aug 30, 2015
Responding to the widespread misgivings over the appointments, Odigie-Oyegun said, “It is too early and superficial to say the appointments were lopsided; it is too early. We are just a little over two months into the government. The appointments made so far are personal staff members of the president. And it is his prerogative to make those appointments.
That era of shanj when the custom boss, SSS and INEC chairman become Buhari's personal staff.

Lol
PoliticsRe: Where Is Barcanista? by analogiphone: 1:50pm On Aug 28, 2015
Gbawe you're a fool, em won make banicansta commit suicide?

Wtf, all that just for one person, Na Em kill Jesus?
PoliticsRe: DSS Charge Against Col Dasuki Is Ridiculous And Silly by analogiphone: 8:32am On Aug 25, 2015
Demdem:
Fool, am sure u think like those deranged fools.
No offense, the name suit you
PoliticsRe: DSS Charge Against Col Dasuki Is Ridiculous And Silly by analogiphone: 8:12am On Aug 25, 2015
Demdem:
U dey mind dem fools. They are all deranged.
Now I see why they call you "retardemdem"
CrimeRe: US Sentences Nigerian Al-qaeda Member, Lawal Babafemi, To 22 Years In Jail by analogiphone: 10:54am On Aug 13, 2015
Ephemmm:
While Ibo is in charge of both local and international drug-trafficking, baby factory, fake drugs, robbery and kidnapping.
I think you're right, but i'm not ibo
CrimeRe: US Sentences Nigerian Al-qaeda Member, Lawal Babafemi, To 22 Years In Jail by analogiphone: 10:38am On Aug 13, 2015
A Nigerian, Lawal Babafemi, 35, also known as Ayatollah Mustapha, accused of receiving weapons training from al Qaeda’s Yemeni affiliate, among other contributions, for the group’s English-language media operations, has been sentenced to 22 years in U.S. prison.
Hausa in charge of internal terrorism while yoruba incharge of international terrorism

1 2 3 4 5 (of 5 pages)