Jump to content

Ninjakreborn

Members
  • Posts

    3,922
  • Joined

  • Last visited

Everything posted by Ninjakreborn

  1. You are reading into this too much, simply find out which element you want moved. Reposition it with position:absolute; position:relative; position:static; preferabbly the first 2 for your situated. just set in how far with the top, left, right, bottom, commands with it and you should be able to move it until it satisfies you visually.
  2. it's definitely possible, but I am not sure of how exactly, but I know it's possible so that lets you know that you can look around and find something. I know there is a way though.
  3. I don't think they would mind you could probably post this in the main forum, more people look there someone may help, but this is relating to php, I don't think they would mind.
  4. why don't you use the classic method this time, maybe one of the things you are trying to do with the other method you are not used to and maybe doing it wrong, is there a reason you don't want to go with your normal way.
  5. I wish I could help but this is a little too deep for me, but I can bump it for you by saying this.
  6. maybe that . in the middle of the rows is supposed to be something else. or maybe something could be wrong with the database, meaning maybe the row in the database isn't connecting right. just some guesses as I don't know databasing quite yet. [a href=\"http://www.php-scripts.com/php_diary/070700.php3\" target=\"_blank\"]http://www.php-scripts.com/php_diary/070700.php3[/a] maybe this can help some, you know more about php and mysql than me, I don't know what to make of it, but I looked at your problem and ran through google, maybe that will help some.
  7. it looks to me like a few things could be going on here, for one you should do a little name changing, don't put spaces in the names of your filenames for your server, and try not to use underscores. Just leave the names together, capital letters if needed, that confuses things, another thing is all of those variables you have listed there are strings. So they should be formatted as follows [code] var1 = "http%3A%2F%2Fmangataz.free.fr%2Fmanga%2Fnaruto.htm&"; var2 = "naruto&"; var3 = "http%3A%2F%2Fsomething.com%2Fsomething.php%3Fq%3Dnaruto%26"; var4 = "%3Dhttp%253A%252F%252Fmangataz.free.fr%252Fmanga%252Fnaruto.htm%26imagesrc%3D";[/code] as you noticed you had them all bunched together unreadable, secondly you were missing quotation marks, third you didn't have the closing colons like this;. The last one isn't necessary but I do it out of habbit. Now your 4th variable didn't even have an equal symbol, reformat your text like this, make any necessary changes to the urls and your script should run like normal. The section you had before the first one wasn'te ven assigned to a variable. And if you are doing all this because of trying to make it Xhtml compliant by using ampersands, well you don't need to do that for text that is within the [code] <?php ?> [/code] if it's inside that you don't have a need to replace every little symbol with an ampersand
  8. if it's just basic text files then generally they are shown as kilobytes, which is the lowest. Those are basic computer size information, so you can google it for detailed explanations of bytes kilobytes. Normally it starts at kilobytes even for word documents. but it could be bytes, it's either the first or second. if it is a basic text file my guess would be bytes
  9. use the die or exit command, check the manual for more information on it,.
  10. I ahve had this problem before on other websites. Maybe you could use javascript, unless php does it, to disable the refresh button for that one specific page only, it will prevent people from refreshing the page, then you could leave a little message there saying that the button has been disabled to prevent double posting. you can use one of the following scripts I tracked down for you to stop the refresh and f5 buttons from functioning in that window, if one doesn't work try the other, the second has been tested in some of the newer browsers, so pick and choose. Or use them all for double effect I guess. This is javascript code by teh way./ [code] if (document.all){              document.onkeydown = function (){             var key_f5 = 116; // 116 = F5                                   if (key_f11==event.keyCode){                             alert("F5 pressed");                 return false;         }     } } [/code] [code] function showDown(evt) {         evt = (evt) ? evt : ((event) ? event : null);         if (evt) {             if (event.keyCode == 8 && (event.srcElement.type != "text" && event.srcElement.type != "textarea" && event.srcElement.type ! = "password")) {                 // When backspace is pressed but not in form element                 cancelKey(evt);             }             else if (event.keyCode == 116) {                 // When F5 is pressed                 cancelKey(evt);             }             else if (event.ctrlKey && (event.keyCode == 78 || event.keyCode == 82)) {                 // When ctrl is pressed with R or N                 cancelKey(evt);             }         }     }     function cancelKey(evt) {         if (evt.preventDefault) {             evt.preventDefault();             return false;         }         else {             evt.keyCode = 0;             evt.returnValue = false;         }     }     // Additional code for NS     if (navigator.appName=="Netscape") {         document.addEventListener("keypress",showDown,true);     }     document.onkeydown  = showDown; [/code] If you know javascript then you might want to make sure you put necessary tags while you go, like the <script language="javascript" type="text/javascript"> </script> or you might be able to just stick those in the header section.
  11. a few errors in the code. $msgid2 = "" when it shows up for the second time you forgot to close it with the colon ; symbol, that might fix your problem.
  12. it's generally best when doing forms, unless there really small, actually it's best always to use an external php file to send the information to, you can do it, and there is an explanation of how at [a href=\"http://www.hudzilla.org/phpbook/\" target=\"_blank\"]http://www.hudzilla.org/phpbook/[/a] under the chapter html forms, just skim over that and you can find all the answers you need, but generally you want the file to send to an external file.
  13. what would the point be your php processor would have troubles, save all your php files .php, if your file has no php in it, then just open the file, click save as, save as filename.htm if that is the extension you want, then delete the other one and redo your links, if you have dreamweaver, or frontpage then it reroutes all the links for you automatically, if you need help I can see what I can do but I need your server host information.
  14. yes. I have one idea. Set each folder as a variable. Then have the value of the variable to be the url of the folder. for instance dog = "http://www.mysite.com/category1"; and so on and then maybe when you call the variable it might create a link to the url if that works then try creating an entire array, and set the array to have keys. a b c d in place of abcd have it the name of the category, so the key is the category name, then have the values set to the specific urls of the folder. And then from there you can do whatever you want to with the array. That is if urls can be passed to variables. i would test it out for you, but I just had my web host shut down my server, to switch it from php 4 to php5. So that is going to take the rest of my work night, adn I Won't have access, or else I would try it out and come up with something for you. I am 90% you can pass a url as a string variable, either way it's just text.
  15. I tried, but I can't figure anything out, sorry someone named dark carnival is reading this so he will probably answer in just a minute. that was embarrasing you are dark carnival Give me just a second to check something maybe I can help. well let me ask you something. WHat exactly do you mean, did you want the folders to have different names, or do somethign with the php to rename the variables.
  16. thanks for all the answers, I appreciate it. if anyone else rolls through this post before it disappears, and has some advice or comments, go ahead and put them down, the post is long enough to make a record here in a few hours.
  17. seeing from your website you know what your talking about, I have tried answering some questions in the forming, and to tell you the truth it has helped alot, what about that personal page in your website, is that for your personal use or something else, and did you use php to create that or something else, the background on the site is nice.
  18. ah so that is what print_r was for, I want to experiment with it some on non-array variables later and see what I can come up with too.
  19. artist what do you mean. I thought that with banners, and logo's I would do them in photoshop. And when it came to doing the general layout, I would just do some studying on general layout rules and start developing my creative side, you said get art and start drawing, drawing what, and if it will help then it's worth a try. and for instance earlier I asked about what I should learn. What would benefit me as a web designer, so c+ c++, c# has absolutely nothing to do with Web programming, or is that for other stuff only like desktop applications, and big non-website programs and things of that nature. And what about xml, wml, at w3schools under a section of developer primer it says what I should learn as a web developer, that's where I got these ideas from then it told me that something called xml, was something all developers should know, that is why I was trying to learn everything in that list and wondering about other stuff as well.
  20. should I use photoshop or fireworks mx 2004.
  21. that's the hard part, I ahve been trying to do projects, in reality I suck at design, I mastered Xhtml, css. I studied javascript for awhile the discovered server side and database driven and dynamic websites and all that. I studied on all that for awhile, I chose php, and mysql, partially because everything I studied about php seemed better than teh other 2 and mysql because itw orks best with php by what I have studied, so I choose those 2, flash I decided to pick up in my spare time for intros I have been asked about them a dozen or more times. BUt when I created a website with Xhtml, css, javascript, I came out with a piece of crap. [a href=\"http://www.freelancebusinessman.com\" target=\"_blank\"]http://www.freelancebusinessman.com[/a] I created that 4 times, from scratch hand coded, I do all the clean code, all teh standards, but when I look at the site it still sucks. That is what is confusing me, even though I know these, even though I am learning php, sql, and those, I am going to know that when I sit down to build another website it is still going to suck, that is what is driving me to keep learning, until I get enough knowledge to sit down and build a website, and people will look and say wow. that is what I want, but I can't get to that, so I figured that I could learn php, sql and it would make it alot better.
  22. I will note that and when I get into php enough to start linking database i will do an intense study to find out the relationships between different types of databases.
  23. so would you recommend ms access or does that phpadmin in the control panels allow me to do the same thing. Other than xhtml, css, javascript, php, sql(mysql), and flash, is there anything else you recommend learning. Or would everything else roughly be a waste of time. I will list the languages I am thinking about, tell me honestly in your opinion, is it going to help me in any way as being a professional web designer, coder, programmer. Xhtml, css, javascript, php, sql(mysql), flash, I am already know, learning, or going to learn these. ajax asp jsp ado c+ c++ c# perl xml wml java or anything else tell me in your own professional opinion what you think will make me a better web designer, coder, and programmer. I just wanted to be able to doing anything related to "websites" i was told that you can't learn everything, I never intended to learn everything, but I was told by thousands of people, [!--quoteo--][div class=\'quotetop\']QUOTE[/div][div class=\'quotemain\'][!--quotec--] "You can't learn everything in the universe, but you can learn everything about something or a few things" [/quote] That's how I want to be in this situation, I want to know everything about web design, I already know almost everything about video games, now it's just web sites. I don't want to know about everything related to everything, I just want to know about everything relating to web design, coding programing. I have the ability to research hosts, and do web site search engine optimization and submission, and keywords analysist, and setting up link exchanges. I am not a knowledge hog per ce I am just interested in this, I want a client when they come to me, to know I can get the job done, whatever there "website" needs only may be relating to. I don't think this is wrong, difficult, or impossible. I think it's just a fact, that I finally found somethign I am interested in, and I want to run with it, until I can say, I know enough to do almost anything with "web sites" or things relating to "web sites" as relating to web hosting, and htings of that nature./
  24. confused again. So How do I build the databases, and how does the server,, AARRRGGGH. Ok the server has a php module that process the php, I know all of that, so the server also has a module to "process" the specific database. All databases are written in sql, and the variations of sql, mysql, postgresql, adn the others are to "connect" to the sql database. right. So the phpadmin, isn't a program I use to build databases but a module that a webserver uses to process them right. Ok so I am wondering, dreamweaver i build xhtml, and css files. and php files, and upload them on the server, the module parses the php, and turns it into output, and it comes to the screen. The database, I don't built it on a program on my computer and upload it do I, I thought it was the equivilant of Dreamweaver-xhtml, css, php. Then another program for databases, to do the same thing, create them on my computer, upload them to the clients web server, like that, that is the part I keep getting very very confused. My webserver yes it has phpmyadmin in the control panel. But for instance, msaccess, I heard it's bad but it's all I have, if I use it, and build a database, after wards I upload my database on to the clients web server, and connect the php files to it, with whatever you do to connect them. And then that's it right. Instead of msaccess since it's bad what other "program" do I need to start building databases on my computer to upload. And if I use a program to build a database, is that hand coding databases, I wanted to hand code everything, does using the program take the easy way out, and write and the sql for you, I am severely confused here.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.