I have several span tags inside a div. The spans contain anywhere from 1 to 3 words. How do I keep all of the words in a single span on one line? If it is too long to fit, I need it to all be on the...
Type: Posts; User: Glenn
I have several span tags inside a div. The spans contain anywhere from 1 to 3 words. How do I keep all of the words in a single span on one line? If it is too long to fit, I need it to all be on the...
I have a php script that reads an image directory and saves the image names in a database. Is there a way I can get all of the files creation dates and time and save them to a variable?
I think I know what you're talking about. I may give that a try.
Thanks
What if I just, instead of having check boxes, I have text fields and enter a 1 where I want it to be valid in this category?
I'll have:
http://blackpipeideas.com/admin/editinfo.php/...
This is somewhat of what it's going to look like.
Black Pipe Ideas
each picture will be different and be a link to a set of pictures that are a common theme. The themes, the ones with the check...
I created them as bool in the database but they show up as tinyint
Once they are submitted how do I save them in the database? I'm assuming they are read as something like SET shelf = TRUE
Thanks.That's good advice. I can work with that. What about making it automatically be checked? Both after reading the database and after submitting the form.
Sorry, I now know what you are asking about the database. It's a mysql database.
I have the song list taken care of now. I just need to get the checkbox straight for the other thing I'm working...
With the song database I use the foreach loop.I have another set of records on something different that I paginate because I have about 4,000 records in it. I may use as many as 100 per page so I use...
Here's what I have done it seems to work. This is just an example.
<form method="post" action="">
<?php
for($x = 0; $x < 4; $x++){ ?>
<input type="text" name="p[]" value="<?php echo...
I have tried everything I can think of to use to get array names in a form name. Either I am using the php code wrong to execute them or how I'm putting them in just isn't right. I'll give an...
Yes! The str_replace worked. Thanks!
I've created this to get the size of several images I have in a directory....
$image = file_get_contents("$fileLocation");
$source = imagecreatefromstring($image);
$width =...
I have a web site that I want my pictures copied easily from a site something like dropbox where I can look at all of my images but not really download them other than one at a time. How do I copy...
I have a function that uses getElementById and it has been working great. Now I have a page where I call it more than once on the page. The first one works but the rest don't. What do I need to do to...
aspecialspot.com
between the image and nav
I've created a div over another div. The top div has a margin-bottom: 0px; The bottom div has a margin-top: 0px;
Why is there about 15 px between them?
I've changed it to:
<meta name = "viewport" content = "width=device-width, initial-scale=1">
Still didn't do anything.
I noticed that my reworked site didn't look right on my cell. I added a meta to correct this but it made it worse. What else can I do?
Here's the meta tag I added:
<meta name="viewport"...
That did it. I had to do a little more doctoring it up but that got me what I needed! Thanks a million.
https://codepen.io/glennbates/pen/JZEybZ
I want the blue side div to go from top to bottom. I have it set to 100% so why doesn't it fill 100%?
If I have .elem-a as my parent div that each page has a different amount of content and will be a different height depending on the amount of content. And I have .elem-b as the child div that I set...
Here's a link to the page I'm currently working on. It may change from minute to minute
aspecialspot.com/horseback-riding
Even if the container is 10,000 px, the div that I have set to 100% is the same height which is about 600px. It's not that it almost fills it up. It may overflow a little or not even come close. It's...
I have a div that I have the height set to 100%. It does not fill the container to 100%. What have I done wrong?