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.

Daemon Byte

Members
  • Joined

  • Last visited

Everything posted by Daemon Byte

  1. first you really should alter that code. replace fetch_array($result, 'MYSQL_ASSOC') with fetch_assoc($result); Also NEVER use select *. Always select the fields. it's just better practise and stops you pulling data you don't need. Also you are checking if file1 exists but then displaying $myrow['file1'.$file]? is that an error or what are you trying to do? Lastly what exactly is the system doing wrong? what do you mean giving you the surrounding image size?
  2. hosters are all over the show offering a wide range of prices and features. If they're looking dodgy which it seems they are get away and find a reliable hoster to avoid serious downtime.
  3. it's flash though so 16gb is about as big as it's going to get at the moment. more than big enough to store my collection completely. The iphone has come crashing in price though. Personally I think they're both well over priced but people like their style icons :-)
  4. escape is quite impossible. muhahah
  5. I'm afraid I don't. I'm sure somebody here will be able to help though.
  6. onclick="this.disabled=true; submit();" I always use that on submit buttons but I'm sure it does the same thing. the beauty of using a program like php designer is you can select a bracket and see its counterpart. This bit of code is your problem. The two first ifs don't have closing brackets. if(isset($_SESSION['FORM_SECRET'])) { if(strcasecmp($form_secret,$_SESSION['FORM_SECRET'])===0) { if(isset($_POST['Submit'])) { ///// CHECK FORM WHEN SUMBMITTED (if One) // check that the first image has been selected if not return error if ($_FILES['imageOne']['name'] <> null) { $nameOne = resize("imageOne","thumbOne");//resize function and return name } else { $whatsediterror[3]='<p class="style1"> You Need to select an image(1).</p>'; $error='false'; } // end if
  7. damn we're good. we don't even need to post anymore
  8. I usually just use javascript but I've never done a system where it's crucial to only click once. You can always put some code to check for javascript first although that could annoy people. It really depends on how crucial it is to not have duplicates and how likely people are to try and get around it.
  9. it's quite common. It creates an array in the $_POST field which can be useful. it's most often used in checkboxes.
  10. try the open university. they usually have flexible courses and you don't have to worry about ending up with a qualification that's not worth the paper it's on.
  11. zen cart is a spin off from oscommerce that I find is nicer.
  12. It's best to imagine them as seperate entities. '<td>' is a string entity as is '</td>' and $position is an integer entity. You need a dot between each entity to glue it together. The dot basically says then is the end off one entity and the start of the next one. If it wasn't html you could as mentioned enclosed it all in double quotes and used {} to highlight a variable like echo "<td>{$position}</td>"; but with html you usually have double quotes in the code so it doesn't work like echo "<td class="myclass">{$position}</td>";
  13. I didn't know you could do things like that :-) Never had a use for it before anyway but it's good to know.
  14. I really should test my sites in netscape but the stats never show any users. Is it perhaps 1 heavy user that comes on netscape? Does aol browser show up as netscape?
  15. exactly. I'm not talking about using drag and drop stuff but editors with syntax highlighting is so much easier.
  16. that looks like you didn't apply my css.
  17. beyond the cookies generated for php sessions and login savers I don't remember using them for everything. Never built anything that complex although I've modified systems like shopping carts that use them. real cookies are only good if they've not gone hard.
  18. I'd consider making the blue a little darker. for those with sight problems or colour blindness I can see that light blue blurring into the white.
  19. wonder where you buy those things from and if they come in blue.
  20. It's not tables. It's an unordered list formatted into boxes. That is code I did last week. All the css for the menu is here http://www.miccysoft.co.uk/menu.css the menu code is <div id="menu_container"> <ul id="pmenu"> <li><a href="index.php">Home</a></li> <li class="drop"><a href="#" class="nolink">About Me</a> <ul><li class="enclose"><a href="about/1about_me.php">About me</a></li> <li><a href="about/2about_introverts.php">About introverts</a></li> <li><a href="about/3pictures.php">Pictures</a></li></ul> </li> <li class="drop"><a href="#" class="nolink">Favourites</a> <ul> <li class="fly"><a href="#" class="nolink">Poetry</a><ul> <li class="enclose"><a href="poetry/1if.php">If</a></li> <li><a href="poetry/2do_not_stand.php">Do not stand</a></li> <li><a href="poetry/3why_I_loved_her.php">Why I loved her</a></li> <li><a href="poetry/4soulmates.php">Soulmates</a></li> <li><a href="poetry/5in_the_spotlight.php">In the spotlight</a></li> <li><a href="poetry/6sonnet116.php">Sonnet116</a></li> </ul></li> <li class="fly"><a href="#" class="nolink">Lyrics</a><ul> <li class="enclose"><a href="lyrics/1ode_II_Joy.php">Ode II Joy</a></li> </ul></li> <li class="fly"><a href="#" class="nolink">Quotes</a><ul> <li class="enclose"><a href="quotes/1hackers_manifesto.php">Hackers manifesto</a></li> <li><a href="quotes/2my_friend.php">My friend</a></li> <li><a href="quotes/3carl_Sagan.php">Carl Sagan</a></li> <li><a href="quotes/4winston_Churchill.php">Winston Churchill</a></li> <li><a href="quotes/5assorted_friendship.php">Assorted friendship</a></li> <li><a href="quotes/6assorted_judgement.php">Assorted judgement</a></li> <li><a href="quotes/7voltaire.php">Voltaire</a></li> <li><a href="quotes/8benjamin_Franklin.php">Benjamin Franklin</a></li> </ul></li> </ul> </li> <li class="enclose"><a href="./contact.php">Contact</a></li> </ul> </div> It should be easy enough with the website to work out what does what and how to get it to work. As for formatting it to fit your website you just have to change the colour codes in the menu css.
  21. if it was easy we'd be out of a job :-) take the code from my homepage and I can help you better. http://www.miccysoft.co.uk
  22. please tell me you're not a puritan? All you need is notepad and dos / linux and vi. The rest is all pointless etc etc. Yes technically notepad will do the job but why not have a program that will help you out a bit? Highlight a syntax error, connecting brackets and tags, suggest words based on what you're typing? There is no shame is having a tool help you.
  23. there are no quick fixes in learning :-)
  24. that's what I do. Fit it to the majority of browsers then just apply a tweek css sheet for IE.

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.