Welcome, Guest: Register On Nairaland / LOGIN! / Trending / Recent / New
Stats: 3,153,694 members, 7,820,424 topics. Date: Tuesday, 07 May 2024 at 02:33 PM

Post All Your Web Development Issues Here (php, Sql, Html, Javascript, Css) - Webmasters (3) - Nairaland

Nairaland Forum / Science/Technology / Webmasters / Post All Your Web Development Issues Here (php, Sql, Html, Javascript, Css) (8414 Views)

HTML, Javascript & CSS Code Tester (PHP Script) / GENESIS FRAMEWORK+THEMES, WORDPRESS/WEB DEVELOPMENT VIDEO TRAINING & SOFTWARES / Post All Your Wordpress Issues Here (strictly Wordpress) (2) (3) (4)

(1) (2) (3) (Reply) (Go Down)

Re: Post All Your Web Development Issues Here (php, Sql, Html, Javascript, Css) by bigv(m): 12:08am On May 01, 2015
The fiddle isn't quite straightforward nor explanatory. Thanks tho.
GoodMuyis:


try this fiddle

http://jsfiddle.net/goodmuyis/zs42at3z/
Re: Post All Your Web Development Issues Here (php, Sql, Html, Javascript, Css) by teeebest(m): 9:06am On May 01, 2015
Lastdon02:


depend on ya theme tho. Bt u can overite it with Css
My wp theme is parabola. Please I need the CSS code to do that
Re: Post All Your Web Development Issues Here (php, Sql, Html, Javascript, Css) by FRInteractives: 9:39am On May 01, 2015
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"wink; //this is your database host
define("DB_NAME", "my-db"wink; // your database you want to connect to
define("DB_USER", "root"wink; //database user
define("DB_PASS", "my-password"wink; // 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"wink; //this is your database host
define("DB_NAME", "my-db"wink; // your database you want to connect to
define("DB_USER", "root"wink; //database user
define("DB_PASS", "my-password"wink; // 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:


Bros I'm okay and doing perfect with..

HTML
CSS
JAVASCRIPT
PHP-design

My problm now is database...have been watchin tutorial video read ebooks...I can't steal get...help pls

Currently I work only with dreamwavers
Re: Post All Your Web Development Issues Here (php, Sql, Html, Javascript, Css) by FRInteractives: 9:42am On May 01, 2015
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:
Pls, i'm having an issue connecting my php codes wit my backend(Mysql)...i'm making use of Apache actually...wud appreciate if u can jst hint me on aw to go abt dt.
Re: Post All Your Web Development Issues Here (php, Sql, Html, Javascript, Css) by Lastdon02(m): 10:01am On May 01, 2015
teeebest:
My wp theme is parabola. Please I need the CSS code to do that
whats your url?
Re: Post All Your Web Development Issues Here (php, Sql, Html, Javascript, Css) by unilag100(m): 10:40am On May 01, 2015
Pls hep..How can I browse with Mtn blackberry subscription on an android phone?
Re: Post All Your Web Development Issues Here (php, Sql, Html, Javascript, Css) by GoodMuyis(m): 1:55pm On May 01, 2015
Bossforeva:
Pls am having a problem building my database with CSS.

Are Serious, what re u trying to DO
Re: Post All Your Web Development Issues Here (php, Sql, Html, Javascript, Css) by JackOfAllTrades: 5:23pm On May 01, 2015
kentc3:
Please, i will like to play videos on my site by generating it from my database.. the problem is that, i do not want to use html5 video tag to do that.. i want something sophisticated like video.js or jw player... but i do not know how to embed it on my webpage... can u help or show me where to get a video tutorial on that.. thanks
the documentation are on their website, you can contact me I will help you set it up
Re: Post All Your Web Development Issues Here (php, Sql, Html, Javascript, Css) by JackOfAllTrades: 5:27pm On May 01, 2015
ibietela2:
I don't always remember the codes when i practice
don't try to cram the syntax, know the full meaning if it has and understand what the code is supposed to do
Re: Post All Your Web Development Issues Here (php, Sql, Html, Javascript, Css) by kentc3: 8:12am On May 02, 2015
Owk....how do i contact you please?
JackOfAllTrades:

the documentation are on their website, you can contact me I will help you set it up
Re: Post All Your Web Development Issues Here (php, Sql, Html, Javascript, Css) by JackOfAllTrades: 8:27am On May 02, 2015
kentc3:
Owk....how do i contact you please?
check my signature
Re: Post All Your Web Development Issues Here (php, Sql, Html, Javascript, Css) by Nobody: 9:03am On May 02, 2015
GoodMuyis:


Are Serious, what re u trying to DO
WICKED
Re: Post All Your Web Development Issues Here (php, Sql, Html, Javascript, Css) by teeebest(m): 9:26pm On May 02, 2015
Lastdon02:


whats your url?
http://benevng.wpdevcloud.com. i want the text area to look like buagroup.com. thanks as always
Re: Post All Your Web Development Issues Here (php, Sql, Html, Javascript, Css) by Lastdon02(m): 10:05pm On May 02, 2015
teeebest:

http://benevng.wpdevcloud.com. i want the text area to look like buagroup.com. thanks as always

you mean the place it says

"Welcome to our site

BUA Group started business over 24 years ago as a Private Limited Liability Company specializing in the importation and marketing of iron & steel, agricultural and industrial chemicals. Since then it has rapidly developed into a fully-fledged, diversified business with a stake in a wide range of business sectors."
Re: Post All Your Web Development Issues Here (php, Sql, Html, Javascript, Css) by Antivyruz: 6:49am On May 03, 2015
Hello, i keep getting an ERROR at the end of majority of my post at www.vevonews.com
i am finding it hard to fix it. kindly help me out.
This is what i mean below.(pix)

Re: Post All Your Web Development Issues Here (php, Sql, Html, Javascript, Css) by samierage: 6:52am On May 03, 2015
pls I need HTML tag for user to create his/her own group in my wap page and can invite other friends to join the group thanks in advance
Re: Post All Your Web Development Issues Here (php, Sql, Html, Javascript, Css) by teeebest(m): 2:53pm On May 03, 2015
Lastdon02:


you mean the place it says

"Welcome to our site

BUA Group started business over 24 years ago as a Private Limited Liability Company specializing in the importation and marketing of iron & steel, agricultural and industrial chemicals. Since then it has rapidly developed into a fully-fledged, diversified business with a stake in a wide range of business sectors."

Yes sir!
Re: Post All Your Web Development Issues Here (php, Sql, Html, Javascript, Css) by Booyakasha(f): 4:44pm On May 03, 2015
Goto www.GDevit.com for Tech and Programming related issues.
Re: Post All Your Web Development Issues Here (php, Sql, Html, Javascript, Css) by Lastdon02(m): 5:21pm On May 03, 2015
teeebest:


Yes sir!
THAT MEANS YOU WANNA REMOVE THE WHITE BACKGROUND AND MAKE IT TRANSPARENT? IF ITS THAT THEN ITS SIMPLE
Re: Post All Your Web Development Issues Here (php, Sql, Html, Javascript, Css) by teeebest(m): 10:18pm On May 03, 2015
Lastdon02:

THAT MEANS YOU WANNA REMOVE THE WHITE BACKGROUND AND MAKE IT TRANSPARENT? IF ITS THAT THEN ITS SIMPLE

Yes that's what I want to do. How can I go about that please?
Re: Post All Your Web Development Issues Here (php, Sql, Html, Javascript, Css) by Lastdon02(m): 11:43pm On May 03, 2015
teeebest:


Yes that's what I want to do. How can I go about that please?
install firebog addon on your firefox when u are done lemme no

(1) (2) (3) (Reply)

5 Marketing Strategies That Will Increase Traffic To Your Website / Which Wordpress Theme Is Best For A News Blog Please / How To Setup A Custom Domain Name For Your Blogger Blog

(Go Up)

Sections: politics (1) business autos (1) jobs (1) career education (1) romance computers phones travel sports fashion health
religion celebs tv-movies music-radio literature webmasters programming techmarket

Links: (1) (2) (3) (4) (5) (6) (7) (8) (9) (10)

Nairaland - Copyright © 2005 - 2024 Oluwaseun Osewa. All rights reserved. See How To Advertise. 31
Disclaimer: Every Nairaland member is solely responsible for anything that he/she posts or uploads on Nairaland.