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

    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...
  3. 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...
  4. 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...
  5. 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...
  6. 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:" ...
  7. 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...
  8. 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...
  9. N

    How to code html that have left,middle, right part like an usual webpage.?

    Using a table is often the way that three columns are created. You can do it with CSS though, but it is tricky. You will need to create a style sheet: open a text editor and save it as a css flie. Then link your html page to it using: <link rel="stylesheet" href="styleForMyPage.css"...
Back
Top