Jump to content
eduard

Next step?

Recommended Posts

Do you want to keep talking about this Eduard? Should we keep discussing languages? What about Argentina, do you want to talk about Argentina instead? Or we could cover life in a hostel. Or, wait, how about you ask a question, like how to integrate PHP into an HTML website, and we'll give you the answers, and then you can say we don't understand the question. How about we do that some more?
I don´t understand your questions very well! What I always want is RESULTS in a constructive way; I´m a do person, not a talk person! I´m fed up that people write that I´m already 2 years on these fora with all the critism. I´m quite sure that there aren´t many others who have NOT been home for 3 years, which mean I never have had a place where I could concentrate me good! (at this time are 2 persons talking next to me!). It´s like the question: How old are you? I feel how I feel and that´s independent to any number! Edited by eduardlid

Share this post


Link to post
Share on other sites
I´m quite sure that there aren´t many others who have NOT been home for 3 years, which mean I never have had a place where I could concentrate me good! (at this time are 2 persons talking next to me!).
What does that have to do with anything? You think everyone else works in a perfect work environment? It's not the 2 people next to you who are responsible for your education, it's you. No one here is responsible for you learning anything, you are responsible for that. The problem that I've seen is that you don't take responsibility. You always have an excuse why you aren't learning anything. You ask a couple questions, you get confused at the answers, and then you blame us, you blame things around you, you blame everything except yourself, and then you give up and go on to some other question without learning the first one. You're trying to write code to work with MySQL when you don't even understand the basics of getting PHP to show up on a page. And, yeah, like you've said, we're about 18 months and counting, you're #15 on the list of people with the most posts all time, and you still don't understand the basics. Until you take responsibility, that's not going to change.

Share this post


Link to post
Share on other sites
What does that have to do with anything? You think everyone else works in a perfect work environment? It's not the 2 people next to you who are responsible for your education, it's you. No one here is responsible for you learning anything, you are responsible for that. The problem that I've seen is that you don't take responsibility. You always have an excuse why you aren't learning anything. You ask a couple questions, you get confused at the answers, and then you blame us, you blame things around you, you blame everything except yourself, and then you give up and go on to some other question without learning the first one. You're trying to write code to work with MySQL when you don't even understand the basics of getting PHP to show up on a page. And, yeah, like you've said, we're about 18 months and counting, you're #15 on the list of people with the most posts all time, and you still don't understand the basics. Until you take responsibility, that's not going to change.
I think you must read the post good CONCENTRATE! Moving to 10 different places in 2 countries because you have to, has nothing to do with RESPONSIBILITY! To your mood it has!

Share this post


Link to post
Share on other sites

I´ve again thought about it: the main reason for this awful comunication is, that someone here in this hostel is stealing all kinds of food of me for months! I know who the thief is (because I´ve seen her stealing!), but she´s still here! Very frustrating! So, I´ve to find again another place!

Share this post


Link to post
Share on other sites

I have a question especially referring " the scientist " statement below " try and do something on your own for once!!! The examples are right ##### there!http://www.w3schools...ysql_select.asp "And here it is ;<?php$con = mysql_connect("localhost","peter","abc123");if (!$con){die('Could not connect: ' . mysql_error());}mysql_select_db("my_db", $con);$result = mysql_query("SELECT * FROM Persons");echo "<table border='1'><tr>< th>Firstname</th>< th>Lastname</th>< /tr>";while($row = mysql_fetch_array($result)){echo "<tr>";echo "<td>" . $row['FirstName'] . "</td>";echo "<td>" . $row['LastName'] . "</td>";echo "</tr>";}echo "</table>";mysql_close($con);?> The output of the code above will be: Firstname Lastname Glenn Quagmire Peter Griffin Here is the question ; Can we print this output to a specific html or php page (whichever is more suitable you think), other than printing the output to an empty screen?Something like " db.html " or " db.php " page, maybe using " href= " link or whatever code you think.So end user can see welcome statement and some other decoration on the page besides output table list.help would be appreciated

Share this post


Link to post
Share on other sites
I have a question especially referring " the scientist " statement below " try and do something on your own for once!!! The examples are right ##### there!http://www.w3schools...ysql_select.asp "And here it is ; [*code*] Here is the question ; Can we print this output to a specific html or php page (whichever is more suitable you think), other than printing the output to an empty screen?Something like " db.html " or " db.php " page, maybe using " href= " link or whatever code you think.So end user can see welcome statement and some other decoration on the page besides output table list.help would be appreciated
You can put the PHP between other HTML, like this:
<!DOCTYPE html><html>    <head>	    <title>Page</title>    </head>    <body>    <h1>Database test</h1>        <?php	    // Database code goes here        ?>    </body></html>

Share this post


Link to post
Share on other sites
You can put the PHP between other HTML, like this:
<!DOCTYPE html><html>	<head>		<title>Page</title>	</head>	<body>	<h1>Database test</h1>		<?php		// Database code goes here		?>	</body></html>

Thanks!This exactly what I´m/was looking for!However, this is a simple example! I´ll include my index.html file and could you write where I do have to put the mysql queries? Thanks! <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN""http://www.w3.org/TR/html4/strict.dtd"><HTML><head><meta http-equiv="content-type" content="text/ html; charset=UTF-8"><title>Eduard Lid</title><link rel="stylesheet" type="text/css" href="ex1.css"></head><body><br><h4>Portfolio</h4><div id="idioma"><p>Chose your lenguage:</p>Seleccione su idioma:<form method="post" name="nav"><br><select name="lang" onChange="document.location.href=document.nav.lang.options[document.nav.lang.selectedIndex].value"><option value="portfolio.html" selected >English </option><option value="portfolio.html">Español </option><option value="portfolio.html">German </option><option value="portfolio.html">Dutch </option><option value="portfolio.html">French </option></select></form></div><div id="floater"><ul id="flags"> <li>eng<a href="english.html"><span id="amer"></span></a></li> <li>es<a href="spanish.html"><span id="spanish"></span></a></li> <li>d<span id="germ"></span></li> <li>nl<span id="dutc"></span></li> <li>f<span id="fren"></span></li></ul></div><!--end #floater --><div id="vertical"></div><div id="main"><p><img id="eduard" src="eduard.JPG" alt="img Eduard Lid"></p><p align="center"> <iframe width="450" height="300" src="http://www.youtube.com/embed/h2AWKgU0cN4" frameborder="0" allowfullscreen></iframe><img id="lake" src="lake.jpg" alt="img lake"></p><div id="content"><p>Web designer<span class="right">Diseñador de sitios web</span></p><p>Translator<span class="right">Traductor</span></p><ul id="links"><li><a href="english.html">more</a></li><li><a href="spanish.html">más</a></li></ul></div></div><!--end #main --><h1>Eduard Lid</h1><p id="copyright">Copyright © 2012</p></body></HTML>

Share this post


Link to post
Share on other sites

My website now is stored at my flash drive (D:)!How do I get this folder (website) in the root folder of my USBwebserver (also at D:)?

Share this post


Link to post
Share on other sites
My website now is stored at my flash drive (D:)!How do I get this folder (website) in the root folder of my USBwebserver (also at D:)?
Solved! (THIS POST!) Edited by eduardlid

Share this post


Link to post
Share on other sites

I THINK I FINALLY FOUND IT: http://dev.mysql.com.../articles/ddws/ Comments please? (I was too early: parts 5 - 10 only are available in print form!) NOW IT´S REAL: http://www.devshed.com/c/a/PHP/Website-Database-Basics-With-PHP-and-MySQL/ (time for a beer!)

Edited by eduardlid

Share this post


Link to post
Share on other sites
Thanks!This exactly what I´m/was looking for!However, this is a simple example! I´ll include my index.html file and could you write where I do have to put the mysql queries? Thanks! <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN""http://www.w3.org/TR/html4/strict.dtd"> <HTML> <head><meta http-equiv="content-type" content="text/ html; charset=UTF-8"><title>Eduard Lid</title><link rel="stylesheet" type="text/css" href="ex1.css"> </head> <body> <br> <h4>Portfolio</h4> <div id="idioma"><p>Chose your lenguage:</p>Seleccione su idioma:<form method="post" name="nav"><br><select name="lang" onChange="document.location.href=document.nav.lang.options[document.nav.lang.selectedIndex].value"><option value="portfolio.html" selected >English </option><option value="portfolio.html">Español </option><option value="portfolio.html">German </option><option value="portfolio.html">Dutch </option><option value="portfolio.html">French </option> </select> </form></div> <div id="floater"> <ul id="flags"><li>eng<a href="english.html"><span id="amer"></span></a></li><li>es<a href="spanish.html"><span id="spanish"></span></a></li><li>d<span id="germ"></span></li><li>nl<span id="dutc"></span></li><li>f<span id="fren"></span></li></ul> </div><!--end #floater --> <div id="vertical"></div> <div id="main"> <p><img id="eduard" src="eduard.JPG" alt="img Eduard Lid"></p> <p align="center"> <iframe width="450" height="300" src="http://www.youtube.com/embed/h2AWKgU0cN4" frameborder="0" allowfullscreen></iframe> <img id="lake" src="lake.jpg" alt="img lake"></p> <div id="content"> <p>Web designer<span class="right">Diseñador de sitios web</span></p> <p>Translator<span class="right">Traductor</span></p> <ul id="links"><li><a href="english.html">more</a></li><li><a href="spanish.html">más</a></li> </ul> </div> </div><!--end #main --> <h1>Eduard Lid</h1> <p id="copyright">Copyright © 2012</p> </body></HTML>
But still I haven´t got a reply to this post and that´s now the most important to me! (combining, integrating, etc.)!

Share this post


Link to post
Share on other sites

You put it wherever on the page you want the data to appear.

Share this post


Link to post
Share on other sites
You put it wherever on the page you want the data to appear.
Ok, thanks!

Share this post


Link to post
Share on other sites
SELECT, INSERT, DELETE and UPDATE are different kinds of MySQL queries. If your application makes use of all of them, it's already a full, ready to be shown, working application. And to make use of them, you'd need one or more HTML forms, each with the purpose of adding (INSERT), editing (UPDATE), removing (DELETE) and retrieving (SELECT) some sort of data. The MySQL part of the PHP tutorial contains examples for all of these kinds of queries.
I think you alredy gave the answer. I´ve 1 html form on my website, insert.php works! But to show the results of select.php I need a question(s) written on a html form?

Share this post


Link to post
Share on other sites
I think you alredy gave the answer. I´ve 1 html form on my website, insert.php works! But to show the results of select.php I need a question(s) written on a html form?
Wow. Referring to an earlier post... it almost looks like we're having some progress here.Anyway... as I told you before, you need to be a little more specific. And this doesn't mean you should repeat the same question again. No. Being more specific means answering the following questions:1. What kind of an application are you making?2. What part of the application is "insert.php"? What is its purpose in the end? No, it's not "inserting data into the database"! That's the thing its doing, not its purpose. Its purpose depends on the answer to question 1.Guessing by your use of the word "question"... are you making an application which asks users some questions (written beforehand by you), collects their answers and shows them to you? Or are you doing something else? I can't help further without you helping me here. The answer depends heavily on what you want to do.

Share this post


Link to post
Share on other sites
Wow. Referring to an earlier post... it almost looks like we're having some progress here. Anyway... as I told you before, you need to be a little more specific. And this doesn't mean you should repeat the same question again. No. Being more specific means answering the following questions: 1. What kind of an application are you making?2. What part of the application is "insert.php"? What is its purpose in the end? No, it's not "inserting data into the database"! That's the thing its doing, not its purpose. Its purpose depends on the answer to question 1. Guessing by your use of the word "question"... are you making an application which asks users some questions (written beforehand by you), collects their answers and shows them to you? Or are you doing something else? I can't help further without you helping me here. The answer depends heavily on what you want to do.
Thamks!However, I do it like LH91325 me wrote (Critisize my website/60)!

Share this post


Link to post
Share on other sites
Thamks!However, I do it like LH91325 me wrote (Critisize my website/60)!
Errr.... What he said is not mutually exclusive with what I'm asking. What he says is applicable to HTML in general (keeping in mind that PHP files output HTML code).Let me give you an analogy of the conversation we're having right now (hopefully you'll see my point):- (you, if you were cooking) Hey, how do I make a sandwich? I already have bread...- (me, if I was helping you cook) What kind of sandwich? Cheese sandwich? Peanut butter and jelly sandwich?- (LH91325, if he was also helping you cook) You should use a knife to cut the bread, or maybe get some sliced bread.- (you, addressing LH91325) Thanks. I'll go cut the bread now.- (you, addressing me) Thanks, but I'll do what LH91325 suggested.- (me, just now) What does this have to do with my question to you? Cutting the bread or getting a sliced bread is the same for any sandwich, but the rest is different.(P.S. I hope you have some food around... I've probably made you hungry... sorry about that)

Share this post


Link to post
Share on other sites
Errr.... What he said is not mutually exclusive with what I'm asking. What he says is applicable to HTML in general (keeping in mind that PHP files output HTML code). Let me give you an analogy of the conversation we're having right now (hopefully you'll see my point):- (you, if you were cooking) Hey, how do I make a sandwich? I already have bread...- (me, if I was helping you cook) What kind of sandwich? Cheese sandwich? Peanut butter and jelly sandwich?- (LH91325, if he was also helping you cook) You should use a knife to cut the bread, or maybe get some sliced bread.- (you, addressing LH91325) Thanks. I'll go cut the bread now.- (you, addressing me) Thanks, but I'll do what LH91325 suggested.- (me, just now) What does this have to do with my question to you? Cutting the bread or getting a sliced bread is the same for any sandwich, but the rest is different. (P.S. I hope you have some food around... I've probably made you hungry... sorry about that)
There´s a serious error in your reply! I don´t like cheese all my life! Thanks anyway! Q; first html then php?

Share this post


Link to post
Share on other sites
There´s a serious error in your reply! I don´t like cheese all my life! Thanks anyway!
And I am supposed to know this how?And while we're at it... I'm supposed to know what kind of application you'll be making how?
Q; first html then php?
Do what LH91325 said first... but you can still answer me even now, before you've done it. That's my point.

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...

×
×
  • Create New...