Jump to content

divinedesigns1

Members
  • Posts

    1,200
  • Joined

  • Last visited

Everything posted by divinedesigns1

  1. hello, i been working on my site for a while now, and im still not finish as yet i still have a few things to insert into the site, well enough said. criticism my website http://www.divinedesigns1.com all opinions are welcome minus about my coding style, thats not welcome at all
  2. oh alrite that explains why i kept getting the wrong date thanks guys
  3. site looks better now, i still dont agree with the menu colour, but its better, i have 1 question tho, is the images on the home page "when you click home" are those images being pull from the database?
  4. ok i figure out why it wasnt working, for some reason, $date(Y-m-d) was displaying 2012-10-12 once i minus "a day" from the date() it displays 2012-10-11 which is the correct date, thanks for the help guys
  5. yeah i though that would work, since its 0000-00-00 in the db alrite ill try that one see sup
  6. then i guess imma have to get some classes for C n C++
  7. ok, im recreating my website into a dymanic website "its a static website atm" and im stuck on displaying the amount of messages i get from the contact form when try my code it display there was 0 msg when there was 2 msg this is my code $date = date('Y, m d');$msg = mysqli_query($con, "SELECT * FROM contact WHERE date='$date'") or die('Error: ' . mysqli_error($con));$nums = mysqli_num_rows($msg);if($nums > 0){echo $nums;} and this is the structure in my dbid int(11)fn varchar(255)em varchar(255)country varchar(255)city varchar(255)others textdate date 0000-00-00but its not working atm, so can someone point me in the right direction by hinting me on my mistake
  8. your code seem confusin, but why not display the information in the cart "since thats what it seems like your making" by the session id of the person whos logged in? so in your db you should have a login table and the other other table with a column name user_id which will hold the session_id in it. #justmyopinion
  9. how come i be wrong, if we both have 2 different opinions and believe, you cant tell me what i believe is wrong just because you say it is sorry dude its like saying these fonts are purple when really its actually black, i more with birbal then i agree with you, anyway i wasnt agruing to begin with, i was giving my opinion on your statement
  10. i dont agree that they should have a tutorial on those, those topic should be something which the person should do the research for, a cms depending on how advance you want it can be created easily "once again depending on how advance you want it" guestbook, newsletter are something which is easy to create and a blog is easy also, "well for me it is, since i started mines" anywho these stuff are stuff which the person should do their research for #myopinion
  11. everyone have their own way to code, telling someone they cant do something because you do it differently doesnt always mean your correct, when i started coding i used table for a layout so has my cuzin, and now we both are able to code without a layout, tables can be use for anything you wish, i saw a "pro" coder use table to create a website and it came out well........now if he as a "pro" can use it why cant a beginner? i mean its a layout, layouts can always be removed or replace by "via <div>" tags
  12. can anyone tell me how i would be able to know how many places i need to move a square to the other side of a river which is 200 px width? or how would i know how many places i need to move to be able to draw a square? this is what im drawing, im suppose to create the right side but im not sure how to figure out the points positions <script type="application/javascript" language="javascript">window.onload = draw;function draw(){// assign the canvas element to a variablevar canvas = document.getElementById("canvas1");// create the html5 content object to be enable to draw methodsvar ctx = canvas.getContext("2d");// create the first shapectx.beginPath();ctx.moveTo(100, 50);ctx.lineTo(130, 100);ctx.lineTo(70, 100);ctx.fill();// create the second shapectx.beginPath();ctx.moveTo(72, 60);ctx.lineTo(85, 72);ctx.lineTo(71, 94);ctx.lineTo(50, 70);ctx.lineTo(65, 40);ctx.fill();// create the last shapectx.beginPath();ctx.moveTo(113, 69);ctx.lineTo(158, 60);ctx.lineTo(126, 90);ctx.fill(); }</script> i got 3 out of the 5 positions correct which is by guessing, so can anyone point me in the right direction so ill be able to figure out where the points need to go or can someone help me understand how to figure out where to place the points
  13. yes the overflow, for me i wouldnt put a overflow unless its part of the sticky footer which is normally place where the main content goes
  14. You can use tables to do a lot of things, like create a layout in html, considering layouts are one of the best way to actually get started on a website, hehehe and i wouldnt call his website awwful either, considering i can actually show you an awwful website
  15. hello, i have a question, is it possible to tell if the time that enter into the database is pm or am?
  16. thats sup, i would have to go to class for C and C++ even tho i self learned php, html, css and now im trying to self learn javascript
  17. i dont like double scrolling bars and some of your pages have them, make stuff more complicated, also that purple is kinda off with the black and blue so i would change that color to something that matches with the black and blue besides that not bad
  18. i have no knowledge of canvas so ill have to leave that for now and try something other thanks guys
  19. php is a little easier to learn than js, well my order would be html, css, php, mysqli, js, jquery then my other would be c+ and c++
  20. ok ill check it out, since im leaning more to php than js or jquery
  21. does anyone know how to take a screenshot of a website using javascript or jquery, im not too sure which one it is, but it have the ability to take a screenshot dymanically from a url can anyone say how this is done? or point me to the correct location?
×
×
  • Create New...