FRInteractives's Posts
Nairaland Forum › FRInteractives's Profile › FRInteractives's Posts
1 2 3 4 5 6 7 8 9 10 11 (of 15 pages)
No Ghana Cedi (GHS) Nigeria Naira (NGN) Notation 1 GH₵ 1 GHS ₦ 51.69 NGN 1 Ghana Cedi = 51.69 Nigeria Naira 2 GH₵ 5 GHS ₦ 258.44 NGN 5 Ghana Cedi = 258.44 Nigeria Naira 3 GH₵ 10 GHS ₦ 516.88 NGN 10 Ghana Cedi = 516.88 Nigeria Naira 4 GH₵ 20 GHS ₦ 1,034 NGN 20 Ghana Cedi = 1,034 Nigeria Naira 5 GH₵ 50 GHS ₦ 2,584 NGN 50 Ghana Cedi = 2,584 Nigeria Naira 6 GH₵ 100 GHS ₦ 5,169 NGN 100 Ghana Cedi = 5,169 Nigeria Naira 7 GH₵ 250 GHS ₦ 12,922 NGN 250 Ghana Cedi = 12,922 Nigeria Naira 8 GH₵ 500 GHS ₦ 25,844 NGN 500 Ghana Cedi = 25,844 Nigeria Naira 9 GH₵ 1,000 GHS ₦ 51,688 NGN 1000 Ghana Cedi = 51,688 Nigeria Naira 10 GH₵ 5,000 GHS ₦ 258,442 NGN 5000 Ghana Cedi = 258,442 Nigeria Naira 11 GH₵ 10,000 GHS ₦ 516,883 NGN 10000 Ghana Cedi = 516,883 Nigeria Naira 12 GH₵ 50,000 GHS ₦ 2,584,416 NGN 50000 Ghana Cedi = 2,584,416 Nigeria Naira 13 GH₵ 100,000 GHS ₦ 5,168,831 NGN 100000 Ghana Cedi = 5,168,831 Nigeria Naira 14 GH₵ 500,000 GHS ₦ 25,844,156 |
Now if you want to connect your php script to a database, for best practises, its best to have a database connection file eg connect.php in your includes folder in your web root directory. A simple database connection file will have the following lines of code: <?php //define database constants define("DB_HOST", "localhost" ; //this is your database host define("DB_NAME", "my-db" ; // your database you want to connect to define("DB_USER", "root" ; //database user define("DB_PASS", "my-password" ; // your database password // now the connection $con = mysql_connect(DB_HOST, DB_USER, DB_PASS); //$con is the connection variable $db = mysql_select_db(DB_NAME, $con) // the database you wish to use //check if connection is successful if(!$con) { die("Error establishing connection" .mysql_error()); } if(!$db) { die("Database Selection failed".mysql_error()); } mysql_close($con); ?> Now this is a depreciated style and will be removed in future here's another way using mysqli <?php //define database constants define("DB_HOST", "localhost" ; //this is your database host define("DB_NAME", "my-db" ; // your database you want to connect to define("DB_USER", "root" ; //database user define("DB_PASS", "my-password" ; // your database password //connection $conn = new mysqli(DB_HOST, DB_USER, DB_PASS); // Check connection if ($conn->connect_error) { die("Connection failed: " . $conn->connect_error); } ?> evolg: |
Connecting to a back-end database like Mysql is easy. Prerequisite: Local server eg: Xampp, Wamp, Lamp, Mamp, These local servers includes Apache, Mysql, php and perl(Xampp) If you are on a windows machine I recommend Xampp. And you can connect to your database from dreamweaver from sites. Packaged/shipped with Xampp is a web application that execute mysql statements called Phpmyadmin. For a better understanding in installing Xampp read this post I created https://www.nairaland.com/2017359/how-install-wordpress-local-host Now if you want to connect your php script to a database, for best practises, its best to have a database connection file eg connect.php in your includes folder in your web root directory. A simple database connection file will have the following lines of code: <?php //define database constants define("DB_HOST", "localhost" ; //this is your database hostdefine("DB_NAME", "my-db" ; // your database you want to connect todefine("DB_USER", "root" ; //database userdefine("DB_PASS", "my-password" ; // your database password// now the connection $con = mysql_connect(DB_HOST, DB_USER, DB_PASS); //$con is the connection variable $db = mysql_select_db(DB_NAME, $con) // the database you wish to use //check if connection is successful if(!$con) { die("Error establishing connection" .mysql_error()); } if(!$db) { die("Database Selection failed".mysql_error()); } mysql_close($con); ?> Now this is a depreciated style and will be removed in future here's another way using mysqli <?php <?php //define database constants define("DB_HOST", "localhost" ; //this is your database hostdefine("DB_NAME", "my-db" ; // your database you want to connect todefine("DB_USER", "root" ; //database userdefine("DB_PASS", "my-password" ; // your database password//connection $conn = new mysqli(DB_HOST, DB_USER, DB_PASS); // Check connection if ($conn->connect_error) { die("Connection failed: " . $conn->connect_error); } ?> And another style PDO soleexx: |
Here's how to create a mysql database connection using PDO <?php $dsn = 'mysql:dbname=testdb;host=127. 0.0.1'; $user = 'dbuser'; $password = 'dbpass'; try { $dbh = new PDO ($dsn, $user, $password); } catch (PDOException $e) { echo 'Connection failed: ' . $e- >getMessage(); } ?> |
I've been reading through your answers, shit, and contributions. Keep on reading and I will post some more difficult tasks on PHP |
let me have a look at your codes mustyhboy: |
please be clear teeebest: |
@bigv Use scrolldelay="1000" to control the speed and for stopping try this <ma r q u e e o nmo u s e o v e r = " t h i s . s e t A t t r i b u t e ( ' s c r o l l amo u n t ' , 0 , 0 ) ; " o nmo u s e o u t = " t h i s . s e t A t t r i b u t e ( ' s c r o l l amo u n t ' , 6 , 0 ) ; " > y o u r t e x t h e r e < / ma r q u e e> o nMo u s eDown= " d o c ume n t . a l l . t e s t . s t a r t ( ) " OR o nMo u s eOu t = " d o c ume n t . a l l . t e s t . s t o p ( ) " <ma r q u e e i d= " t e s t " b e h a v i o r = " s c r o l l " d i r e c t i o n= " u p " h e i g h t = " 2 0 0 " s c r o l l d e l a y= " 1 0 0 " s c r o l l amo u n t = " 2 " o nMo u s eOv e r = " d o c ume n t . a l l . t e s t . s t o p ( ) " o nMo u s eOu t = " d o c ume n t . a l l . t e s t . s t a r t ( ) " > T h i s i s my t e s t < / ma r q u e e> |
You Nailed it Bro. Keep it up. I'll be posting some more difficult questions soon [quote author=Craigston post=33219968][/quote] |
[quote author=Craigston post=33219601][/quote]good one bro |
spikesC:NOTED good observation |
give me the url to that site ehbraheem: |
Question 5 (OOP) Q: What is the difference between p u b l i c, p r o t e c t e d and p r i v a t e in a class definition? |
well done jregz but you did'nt get question 4 correctly. |
what type of web app do you intend building and which web development language do you know? ehbraheem: |
Question 4 Q: Consider these lines of codes: //first code $myVar = "I am Something"; $myVar .= "So Special"; echo "Do you Know $myVar"; And //second code $myVar = "I am Something"; $myVar .= "So Special"; echo 'Do you Know $myVar'; Now if you run these two codes in a Browser what will be the output? |
Question 3 Q: Given this code: function doSomething( &$arg ) { $return = $arg; $arg += 1; return $return; } $a = 3; $b = doSomething( $a ); ...what is the value of $a and $b after the function call and why? |
Question 2 Q: What is the preferred way to write this if statement, and why? if( 5 == $someVar ) or if( $someVar == 5 ) |
Question 1 Q: What is wrong with this query: "SELECT * FROM table WHERE id = $_POST [ 'id' ]" ? |
Hello NL webmasters, I will be posting some Questions in php which I have the answers already and you will figure them out for yourselves. You can also post your own questions here for others to solve. |
Hello NL Webmasters, if you have any issue in any Language listed above feel free to share it here and get solutions to it. |
FR Interactives IT Solutions, is an Information Technology company based in Port Harcourt Nigeria. We specialize in creating ICT solutions for individuals, SMEs, corporate bodies, government and non-governmental organizations. Below are the Services we can render to your organization Bulk SMS/ SMS Alert Application Website Development Web Portal Development Mobile Application Development SEO IT training Computer graphics Database Design, Implementation and Management services ICT Training and Consulting Talk to us today: Call +2348072611343 for more info Visit us @ No. 5 Babbe Street, D/Line Port Harcourt, Rivers State. |
We can build a Real Estate/Property Website for your Business, Are you into Real Estate? then this opportunity is for you to own a professional looking website for your firm to reach out and meet more clients. Having a Website speaks more for you online. FR Interactives Web Development Agency is offering you the opportunity to have a web presence today. We can build a property website that will possess these features: -Classified Ads - Property Listing - Ecommerce Functionality -Social Accounts - Responsive Design (compatible for all devices) - Online Payment for Properties - About Page - Contact page - User Dashboard Want more than this? We can handle your need. Contact us today and get the best Web development services. Talk to us today: Call: 08072611343, 08059981540 Visit us: No. 5 Babbe Street, D/Line Port Harcourt, Rivers, Nigeria Regards, FR Interactives Inc. |
We can build a Real Estate/Property Website for your Business, Are you into Real Estate? then this opportunity is for you to own a professional looking website for your firm to reach out and meet more clients. Having a Website speaks more for you online. FR Interactives Web Development Agency is offering you the opportunity to have a web presence today. We can build a property website that will possess these features: -Classified Ads - Property Listing - Ecommerce Functionality -Social Accounts - Responsive Design (compatible for all devices) - Online Payment for Properties - About Page - Contact page - User Dashboard Want more than this? We can handle your need. Contact us today and get the best Web development services. Talk to us today: Call: 08072611343, 08059981540 Visit us: No. 5 Babbe Street, D/Line Port Harcourt, Rivers, Nigeria Regards, FR Interactives Inc. |
We can build a Real Estate/Property Website for your Business, Are you into Real Estate? then this opportunity is for you to own a professional looking website for your firm to reach out and meet more clients. Having a Website speaks more for you online. FR Interactives Web Development Agency is offering you the opportunity to have a web presence today. We can build a property website that will possess these features: -Classified Ads - Property Listing - Ecommerce Functionality -Social Accounts - Responsive Design (compatible for all devices) - Online Payment for Properties - About Page - Contact page - User Dashboard Want more than this? We can handle your need. Contact us today and get the best Web development services. Talk to us today: Call: 08072611343, 08059981540 Visit us: No. 5 Babbe Street, D/Line Port Harcourt, Rivers, Nigeria Regards, FR Interactives Inc. |
Where are you based? if you are based in Port Harcourt, Rivers State, you can come and register for a compressive web development course Cybershow: |
First thing is to have a basic knowledge about PHP which is a server-side scripting language. If you don't have knowledge about PHP I can help you. Cybershow: |
hello if you are based in port harcourt nigeria dline axis you can come pick up an interactive OOP PHP programming ebook at our port harcourt office @ No. 5 babbe street, dline port harcourt or call, whatsapp us on 2348072611343 regards |
About Microsoft Dynamics CRM Dynamics CRM is a Customer Relationship Management software package developed by Microsoft. It focuses mainly on Sales, Marketing and Service (help desk) sectors. Dynamics CRM is a server-client application which like MS SharePoint is primarily IIS-based web application which also supports extensive web services interfaces. Client access Dynamics CRM either by using a Web Browser or by a thick client plug-in to Microsoft Outlook. |
Good day NL, Microsoft Dynamics CRM is an interesting ERP module that deals with Customer Relations share your issues and tips and we will give you solutions for a better use of Microsoft Dynamics FR Interactives will be posting on this thread about upcoming Microsoft Dynamics CRM boot camps and workshops hosted by FR Interactives in Port Harcourt Nigeria |
; //this is your database host