Hi everyone,
This is the code to create a new table:
CREATE TABLE melClans (
id INT NOT NULL AUTO_INCREMENT,
name VARCHAR(255) NOT NULL,
KEY (id)
);]
This is an error message I get in response to creating table with the above code:
#1813 - Tablespace for table...
Hello everyone,
Here is code to create table named 'abcd'/
USE skullcrashingwords;
DROP TABLE IF EXISTS abcd;
CREATE TABLE abcd(
ID INT AUTO_INCREMENT,
Name VARCHAR(255) not null collate utf8_unicode_ci,
KEY (ID)
);
INSERT INTO abcd(name)
SELECT 'aaaaa';
When I run this code a new abcd...
I get the following error:
h1>Failed to read configuration file</h1>This usually means there is a syntax error in it, please check any errors shown below.<br /><br /><iframe src="show_config_errors.php" />
Package installed at c:\xampp
Anyone can tell me what is it all about?
Thanka
Hi everyone,
I have a form in "test.php" which I want to process in "test1.php".
test.php is the following:
<!DOCTYPE html>
<html>
<head>
<title>Update Records In MYSQL Database Using PHP</title>
</head>
<body>
<!--connecting to database-->
<table>
<tr>
<th>ID</th>...
Hi everyone,
It seems I dont understand the mechanism of sending a parameter from one PHP procedure to another.
Here is the code of the main procedure test.php:
<!DOCTYPE html>
<html>
<head>
<title>Update Records In MYSQL Database Using PHP</title>
</head>
<body>
<!--connecting to...
Hi everyone,
The following is a PHP code to edit a line in a MySQL table.
Lots of things do not work in this code. To start with is the following warning message I get when start running it:
"Warning: mysqli_fetch_array() expects parameter 1 to be mysqli_result, boolean given in...
Hi everyone,
I have code where a MySQL table's row is deleted.
Before deleting I'd like a user's confirmation whereby dialog box.
Can anyone show me how to do that?
Thanks
Hi everyone,
A very simple code that aims to know whether value was inserted to an input field in a form is not working :-(.
In the following code, when a value is inserted to field 'A" I want 'a' to be echoed and if 'b' recieves value the program should
show 'b' on the display.
Whether I...
Hi everyone
Attached is my code where I want background image of a div to be selected by js:
<!DOCTYPE html>
<html lang = "en">
<head>
<title>to-forum.html</title>
<meta charset="utf-8" />
<style>
.logo
{
width:1200px;
height:300px;
margin:auto;
display: block...
Hello everyone,
The following HTML/JavaScript code inserts a background imag to a div without causing problems.
<!DOCTYPE html>
<html lang = "en">
<head>
<title>to-forum.html</title>
<script>
function ChangeImage(param)
{
return("http://localhost/images/greensilver.gif")...
Hi everyone,
This is my first javascript code and it is not working for me !
I try to place an image at a div. What that image would be it depends on a parameter I send to a js function.
This is what my HTML page:
<!DOCTYPE html>
<!--to-forum.html-->
<html lang = "he">
<head>
<title>js</title>...
Hi everyone
This is my "hello.php" file:
<?php
$myConnection = NEW MYSQLI('localhost','root','a','b');
IF(!$myConnection)
DIE('ccc' .MYSQLI_CONNECT_ERROR());
echo 'Hello world';
?>
When I load it thorough my browser typing at the address bar:
http://localhost/hello.php I get an...
Hi everyone,
My code consists of 2 elements. "One" is the ancestor and "second" is child.
I try to place "second" at the bottom of "one" in the middle of its' width.
here is my code:
<!DOCTYPE html>
<html>
<head>
<style>
.one
{ position:relative; border: 2px solid green; height: 200px...
Hello everyone,
I moved into a new computer and copied databases from the old machine's MySQL databases
located in c:\xampp\mysql\data\dbname to the new machine.
When I tried to show table's content I get an error message that says:
"table dbname.tablename doesnt exist" but when I type: "show...
Hi everyone,
My LAN is consisted of 2 separate MySQL platforms.
In on of those 2 stations I have a database: "MyDB" that hosts a table: "MyTABLE".
At the second station I created a database with the name: "MyDB" and I'd like to import the table "MyTABLE" into that database.
In order to do so I...
Hi everyone,
I'm trying to create a "from - to" selection area where the user selects his "from" number to "to" number.
The numbe choise is derived from a mysql table "hourshifts" and a column named "counter" .
This is my code:
<?php // select_list_from_query1.php
require_once 'myInitial.php'...
Hi everyone,
I'd like my 4 elements to populate the entire height of the screen. No less and no more.
Here is my code:
<!doctype>
<html>
<head>
<style>
<style type="text/css">
{
top: 0;
margin: 0;
padding: 0;
border: 0;
font-size: 100%;
font: inherit;
vertical-align: baseline;
}...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.