Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  • Users: lupidol
  • Content: Threads
  • Order by date
  1. lupidol

    Cannot create new table in mySQL

    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...
  2. lupidol

    mysql cannot add rows with "UNION"

    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...
  3. lupidol

    Installing XAMPP. Connecting phpMyAdmin

    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
  4. lupidol

    Table's title row's rounded corners border

    Hi everyone Here is my table's css disign: <!DOCTYPE html> <html> <head> <title>To forum</title> <style> table { width: 80%; margin: auto; border-collapse: collapse; } tr.title { border-radius: 15px 15px 0px 0px; border: 3px solid #6b8e23;; }...
  5. lupidol

    Can I set $_GET[] without &quot;Submit&quot;?

    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>...
  6. lupidol

    PHP Sending parameter to sub procedure

    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...
  7. lupidol

    PHP editing value doesn't fully shows the original value

    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...
  8. lupidol

    Confirmation dialog box

    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
  9. lupidol

    What does a question mark (?) stands for in ancho tag ?

    Hi everyone, I bumped into code regarding anchore tag: <a href="index.php?del_task=<?php echo $row['id'] ?>">x</a> What does the "?" stand for? Thanks
  10. lupidol

    &quot;isset&quot; not working :-(

    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...
  11. lupidol

    Making functions to pass styles parameters

    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...
  12. lupidol

    How to run JavaScript code in PHP

    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")...
  13. lupidol

    Alternate images not working

    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>...
  14. lupidol

    input:hover[type=&quot;submit&quot;]

    Hi everyone, This is my code: <!DOCTYPE html> <html lang = "en"> <head> <title>test</title> <style> input:hover[type="submit"] { background: red; } </style> </head> <body> <form method = "GET" action = "test.php" > <label for = "fromDAte" >xxx</label> <input type = "date"...
  15. lupidol

    Running external php file from HTML page

    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...
  16. lupidol

    How do I place an element at the center of its' ancestor?

    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...
  17. lupidol

    Can't display table's content on new platform

    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...
  18. lupidol

    Hi everyone, My LAN is consisted o

    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...
  19. lupidol

    Placing a selected value inside input box and accessing it

    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'...
  20. lupidol

    Elements not populate the entire screen

    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; }...

Part and Inventory Search

Back
Top