Alfraganus
-
Posts
60 -
Joined
-
Last visited
Content Type
Profiles
Forums
Events
Posts posted by Alfraganus
-
-
I would like to create online dictionary using PHP, MYSQL and AJAX or XML but the problem is that I don't know much how to create them, anyone knows any tutorial about creating dictionary and the codes?
-
user log in
in PHP
but error exactly coming from line 9 which is $connect=mysql_connect("locahost", "root","") or die("can't connect!!");
what is wrong except mysqli?
-
user log in
in PHP
I was trying to make log in using mysql too, however, something wring with my "mysql", I am not sure what I did wrong with it, could you please kindly check if there any possibility?
login.php:
<!DOCTYPE html><html><head><title></title></head><body><form action="Login1.php" method="POST">Username:<input type="text" name="username"> <br>Password:<input type="password" name="password"> <br><input type="submit" name="submit" value="log in"></form></body></html>login1.php<?php$username=$_POST ["username"];$password=$_POST["password"];if ($username&&$password) {$connect=mysqli_connect("locahost", "root","") or die("can't connect!!");mysql_select_db("phplog") or die("cant connect!!");} elsedie("please enter username and password");?> -
dear bros,
why we have to use "." (DOT) before and after every variable?
for example:
$color="green";
echo "my eyes' color is ".$color.";
thank you for your attention.
-
Thank you for your reply, here is my begginning part of codes----HTML----<!DOCTYPE html><html><head><meta charset="utf-8"><title>the Ottomon Empire</title><link href="design.css" rel="stylesheet" type="text/css" media="screen"/></head><body><header><div class="headerContainer"><h1><a href="">Usmonli Turklar Imperiyasi </a></h1><div id="navcontainer"><img src="images/ottomon.jpg"> (this is my picture that is not floating left)<ul id="navlist"><li id="active"><a href="#">Usmonli Turklar Tarixi</a></li><li> <a href="#">Imperiya yuksalishi </a></li><li> <a href="#">Hukmdorlar</a></li>---CSS---body {background: url(images/bg.jpg) center center fixed no-repeat;-moz-background-size:cover;background-size: cover;}#header {border-bottom: 1px solid #c0dffb;padding-bottom: 30px;}.container {width: 960px;margin: 0 auto;}.headerContainer {width: 960px;margin: 0 auto;}header h1 {float: left;}header h1 a {font-family: 'lobster', sans-serif;font-size: 42px;color: #00adff;text-decoration: none;}img {float:left;margin: 0 0 10px 10px;width: 150px;height: 100px;overflow: auto;}#navcontainer {float: right;padding: 30px 0 0 0;}ul#navlist {margin-left: 0;padding-left: 0;white-space: nowrap;}#navlist li {display: inline;list-style-type: none;}#navlist a {padding: 10px 20px;font-size: 24px;font-family: 'lobster', sans-serif;text-decoration: none;color: #677a83;text-shadow:0px 0px, 1px 1 px #ffffff;}#navlist a:hover {color: #fff;text-decoration: none;text-shadow:none;background: #00adff;border-radius: 0px;
-
hi programmers
I was trying to float my image to left side of my page, but somehow my div element is disturbing it, it is stating in center of my page,
is there any possibility to float image in DIV element?
products are not floating from right to left
in HTML/XHTML
Posted
I was creating small online shop, but my products are staing in center, and not itimizing from the left to right, I dotn know whats wrong with it, I would be greatfull there would be solution, here is the situation in attachment, and let me give HTML and CSS codes
index.php
style.css
insert_product.php
functions.php
db.php