Skip to content
View in the app

A better way to browse. Learn more.

Web Designer Forum

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

gigman7

Members
  • Joined

  • Last visited

  1. 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 next line.
  2. 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?
  3. I don't see how that is going to work since it's in a loop. I should have put that "36" as $x. When it's in the loop, it's got to be set in some sort of array.
  4. 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 example. I pick out the songs each week at church for service. I keep all of the songs we sing in a database and I change the date we sing them. If I pick out 6 songs and change the date, I have to do it one at a time with over 100 forms and submit buttons. I'd like each song to have its own if where I have something like $date[1], $date[2] etc. Then when I submit it, it will change all with one submit. I have a different page that has many more pieces of data that I have set to 100 per page. Therefore, each will have a different id attached to it so I use a counter $x. When I try to set this up as name = "$name[$x]" it doesn't work. I am using the escape with the "". I have changed it around so much that I'm probably repeating myself now. How do I set this up? What I currently have looks something like this. echo "Title<input type=\"text\" name=\"shortDesc[$x]\" size=\"40\">\n"; I've tried several ways to get the submitted data. Here's one of many. $shortDesc = $_POST['shortDesc']['$x']; echo $shortDesc
  5. gigman7 posted a topic in Frontend
    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 = imagesx($source); $height = imagesy($source); echo " &nbsp; width : ", $width, " $nbsp; height : ", $height, "<br><br>"; When it gets to an image with a name that has a space in the name, it gives me an error.... Warning: imagecreatefromstring(): Data is not in a recognized format in /setupdb.php on line 23 Warning: imagesx() expects parameter 1 to be resource, boolean given in /setupdb.php on line 25 Warning: imagesy() expects parameter 1 to be resource, boolean given in /setupdb.php on line 26 What do I need to add to get it to read them better?
  6. 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 them over? Is there a php command or something that will do this?
  7. gigman7 replied to gigman7's topic in Frontend
    Yes, because each page is different and my have one, two, or twenty or more.
  8. gigman7 posted a topic in Frontend
    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 make multiples work on one page?
  9. gigman7 replied to gigman7's topic in Server Side
    The pictures on the home page aren't extremely large? Even though I have them set to be smaller on the phone.
  10. gigman7 posted a topic in Server Side
    I've created a responsive menu that works great on a "resized" computer browser. Doesn't work on my phone. What gives? aspecialspot.com
  11. gigman7 replied to gigman7's topic in Server Side
    There is still one pixel left. How do I get rid if it? Nevermind. Got it.
  12. gigman7 replied to gigman7's topic in Server Side
    Also, my content area isn't filling again. Edit: Got that part.
  13. gigman7 replied to gigman7's topic in Server Side
    Why did the creators of the css world not make a margin 0 actually be 0? I'm still having trouble with a margin-bottom:0 and a margin-top:0 not be margins of 0. I guess logic wasn't something they were considering. If you look on my vacation guide page, there's a big gap between the top nav and the main content.
  14. gigman7 replied to gigman7's topic in Server Side
    That got it. Thanks!
  15. gigman7 replied to gigman7's topic in Server Side
    That took most of it out. Now there's about 2 px still there.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.