Search results

  1. N

    How long to wait before exercising after donating blood?

    I do somewhat somewhat heavy strength training exercises at home, and would like to know what is the recommended time to take off working out after donating blood. Should I start out just doing cardio or swimming for a few days? What is the best approach to take?
  2. N

    Website using PHP code how can I fire it off in a html page?

    Are you running it in a web server? Does the server have PHP? If you don't have a development server on your computer, you'll need one to work with PHP If you don't have a server set up, go to this page: http://www.apachefriends.org/en/xampp.html And download the right one for your operating...
  3. N

    what's wrong with this php code ?

    That's not a lot of info to go on. One thing that is strange is your variable names, if you start writing big pages, keep them simple (PHP is not so good at namespaces) But, if this is form handling, on the handling page, then you want $_POST to get the variables passed by post. Play with GET...
  4. N

    what's wrong with this php code ?

    That's not a lot of info to go on. One thing that is strange is your variable names, if you start writing big pages, keep them simple (PHP is not so good at namespaces) But, if this is form handling, on the handling page, then you want $_POST to get the variables passed by post. Play with GET...
  5. N

    Inline styling with HTML or CSS?

    I just wanted to throw this out there, I usually use the span tag with a style attribute to a lot of styling, just because I always keeping going back an forth (make it a little more bold, a little bigger, etc) but I realize that I often waste a lot of time when all I end up doing is making...
  6. N

    Rotate an image with HTML, CSS or JavaScript?

    I have an image that I am using just for structure on a blogger website. I don't want to have to load the image in different ways (it is actually a website I am doing for someone else.) Is it possible to rotate the image simply using CSS, HTML or simple JavaScript. I am aware that their are...
  7. N

    can i use css & html for a blogger template instead of xml. Or do i have to pay

    If you go to your blogger Layout, click 'Edit HTML' and tick the checkbox where it says 'Expand Widget' you can view the xml file for your page. Just scrole down a little bit and you will see some css. Some of it is imported but you can just edit that. So, even though it is inside of xml, it...
  8. N

    i need help with PHP code?

    don't put the image in the database. Just save the image somewhere else on your document path, and then reference that in the database. So all you store in the database would be something like: '/images/great_pic.jpg' and use that string as a url reference on your page.
  9. N

    what role does Asynchronous Javascript play in the AJAX methodology?

    The front end, browser side.
  10. N

    ajax programing, tick tack to board?

    I put one together as best I could. I think there may be some mistakes, and I didn't end up using Ajax, as I have kept all the JavaScript on one page. But it would be really simple to spread it out. Anyway, it's not a good one, but I had to have a go just for fun...
  11. N

    Javascript? PHP? AJAX? What should I use here?

    Well, you'll need Ajax for that. PHP is server scripting, which means that it is not your visitors browser interpreting it, it is the server. This means that the page was made with php, and then sent as a complete page to your user. JavaScript is the action on the browser. It can do stuff...
  12. N

    ajax programing, tick tack to board?

    I put one together as best I could. I think there may be some mistakes, and I didn't end up using Ajax, as I have kept all the JavaScript on one page. But it would be really simple to spread it out. Anyway, it's not a good one, but I had to have a go just for fun...
  13. N

    Javascript/Html Question?

    I think that you are misunderstanding the role of JavaScript in this question. You are correct that the right way to do it is to use an HTML form. The form, when it is submitted, sends data out, something JavaScript does not do. JavaScript is a scripting language used within a hosted...
  14. N

    Change link html color in a different div box?

    a is the element tag for anchor (links). Just add an a in front of the class for the div tag and all the a (anchors) in that section will take on this styling. a.footer { color: #0058c2; } And also add: .footer { float: left; width: 971px; text-align: center; padding-top: 10px; font-family...
  15. N

    PHP mysql - query row and assign values to array?

    I am still learning how to work with databases in php. What is the best way to take a selected row and record the output to an array, with the row values as the array keys in one's php script? Sorry if this is rather a stupid question. I really struggle to understand the concept of an...
  16. N

    How to set array for only one value from a mysql query in php?

    I have this query: include 'DB_connection.php'; $result = mysql_query("SELECT * FROM post WHERE zitime = $_ptimeValref;"); $_postVals = mysql_fetch_assoc($result); What would be the best way to set that query to a single array, giving me only those time values that I am searching for...
  17. N

    php within a class referencing?

    I am just learning to use classes and objects in php and would like to know one simple thing - how to you reference one function from another within the class. For example: class buttons{ function draw(){ echo "<input type="button" style='height:" . $size[height] . "; width:" ...
  18. N

    question about HTML?

    If you mean that you have a header, below it a navigation bar in a <div> tag and then you want the remainder of the content to be on the right of the navigation? Basically you want to look up doing a two column layout for CSS. It is tricky, but basically it can be done. You may need to use...
  19. N

    Dynamic description meta tag with php?

    This is a very theoretical question, but I would like to have some informative opinions: I am busy starting a blog from scratch and would like to know about dynamic meta tags for blogs. What I want to do is to change the description meta tag for each blog post individually. I am NOT asking...
  20. N

    In php on an Apache server, write path to file.?

    On an apache server, using php, if you want to write an .htm file in a different file, how do you designate that file path. $placePost = "post_file\".$postfilename.".php"; $handle = fopen($placePost, "wb"); $numbytes = fwrite($handle, $post); fclose($handle); Where is my mistake here...
Back
Top