Jump to content

br3nn4n

Members
  • Posts

    167
  • Joined

  • Last visited

    Never

About br3nn4n

  • Birthday 01/05/1991

Profile Information

  • Gender
    Not Telling

br3nn4n's Achievements

Member

Member (2/5)

0

Reputation

  1. This may be the most useless advice you'll read on here, but keep in mind that you need to later call those $q4's in the HTML form. What might help is if you just did shorthand ifs for each check, and did this: <?php $row['degree_id'] == 1 ? $q4[0] = 'checked'; : $q4[0] == ''; ?> That says to set $q4[0] to be the string 'checked' if degree_id is 1, and nothing if it isn't. What you can then do in the html is: <input type="checkbox" name="degree_1" <?=$q4[0];?> /> That will spit out a "checked" into the <input /> element if degree_id is 1, which would check the box. Again, that probably was no help at all and not what you were asking for help with, but I hope it helps in some way.
  2. Without using FFMPEG that is, since my host refuses to allow it. I really don't want to change hosts just for this one thing, I'm happy otherwise, but I need this work. I just need to grab a frame from a video when the user uploads the video. I can't use FFMPEG like I said, but I saw a suggestion someone had that said "have PHP open the video in fullscreen and take a screencap". That would work perfectly, I just have not a CLUE how to do it. Does anyone have experience doing this? I just want it to grab a screenshot and have it saved as a jpg with the same filename as the video, for obvious reasons...call the video player and pass it the filename with a .jpg attached for the screenshot param. Any help is appreciated! Thanks.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.