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.

crammy

Members
  • Joined

  • Last visited

  1. Thanks rallport, Would appreciate you expanding or offering some advice as to why? I'm learning as I go here? Regards, Crammy
  2. Hi everyone, SEO is not something I have really got any experience in so I hope someone will be able to give me some advice. I am currently working on a site that has two distinct sections from the home page - Its a motor sports company where one section is all about the team and race news etc. and the other section is a shopping cart for racing parts equipment spare parts etc.. My link (the spares shopping cart is not live yet as it is being updated - but you'll get the idea). Google Web master tools tells me that it reads the sites top keyword as the word "read" - I think this is coming from a php/MySQL generated list (on latest news section of the team section) with the link read article at the end of it. Is there a way to stop that being read as a key word? Also what is the best way to apply SEO when a site has two distinct areas? Is there a way to force google to add the subsections under the search results to show the divide when searched? As always I appreciate the help. Regards, Crammy
  3. So should I just remove reference to that? Crammy
  4. Hi everyone, I'm trying to use "gallery 3" on my website however find it really difficult to customise. This is as far as I have gotten so far My link Can anyone help me to even do the basics?? i would be happy if I could remove the hovering side bar on the left (i have removed all the items), and re-size the gallery to match the top/menu section of my site? I have trawled through the css and php looking or the right section to modify but am totally lost. Any help would be appreciated. Crammy
  5. think its still a bit over my head, is there anything I can edit in that file to make it display within the DIV element of my page?
  6. I have found this script http://sye.dk/sfpg/ which is perfect for what I am looking to achieve. I am having trouble integrating it with my site. I want to display this script within a DIV class of an existing PHP file but it doesn't display correctly. I have tried using the include method and have even tried pasting the php script directly in-between the div tags where i want to place it in my page. Both don't keep the script between the div on the page and just paste it over the entire page. Here is a normal display My link Here is one with the php file inbetween the div tags - My link any help would be great. Crammy
  7. Hi everyone, can anyone recommend any scripts I can use to create image galleries dynamically from folders on a server? Essentially I want to be able to upload a folder full of pictures via ftp to a main photo repository and have the script create a folder by the same name containing the images for the users to view. So for example if I had folders called cars & Places & facesthen the user would be able to view each of the folders and click on them to view the images in each. Thanks in advance
  8. Hi Everyone, I now have a working site - thanks to a few of the guys here for helping me out! The site loads fine and the mySQL DB functionality is now working for the latest news sections. The one annoying problem however is that when navigate through the website - each page is almost constructed in front of me - very hard to describe - but all the parts are displayed with gaps everywhere, then the whole thing seems to be pulled together into format. I have a fast broadband connection - have I just not optimised the images enough or have I made a coding error somewhere? Feel free to have a look at what I mean link Thanks in Advance, Crammy
  9. Thanks - appreciate the help - working fine now
  10. My code connects fine as when i change it to select from it pulls the information fine. My full code for this section is below. (obviously the names and passwords removed. Any more ideas? <?php mysql_connect("****my server***", "***myDBname***", "***mypassword***") or die(mysql_error()) ; mysql_select_db("***myDBname***") or die(mysql_error()) ; mysql_query ("DELETE * FROM newsarticlesnew WHERE id=$id") ; echo "$id"; echo "<br>"; echo "DELETED ARTICLE"; ?>
  11. Hi All, I now have my website retrieving rows correctly however i cant seem to get the code to delete a row form a chosen mySQL DB I currently have a a variable being passed and a row being displayed using the following code - which works perfectly. <?php $query = "SELECT * FROM newsarticlesnew WHERE id=$id"; $result = mysql_query($query); $person = mysql_fetch_array($result); echo "<h3>" . $person['newstitle'] . "</h3>" . "<small>" . $person['newscaption'] . "</small>" . $person['richbody'] . "</td>"; ?> I thought by replacing the code with the below it would remove that row from the DB but it doesn't. The variable is being passed fine as I have echo'd it out to make sure $query = "DELETE * FROM newsarticlesnew WHERE id==$id"; Can anyone give me any idea why the row is not being removed? Thanks, Crammy
  12. Im going to work out how to do that now - do you have any simple code snippets that will allow me to upload the image to a directory.
  13. Tried that - As per the title of this thread, this image is not stored on a file system it is stored as a BLOB in the mysql DB directly not as a file system and path. Thanks for the help anyway - think i just need to go back to the drawing board and make the upload page uplaod the image instead of making it add directly to the DB - i thought it would be a shortcut but it seems to have caused more problems than its worth. If you do have any more idea's i'd appreciate it.
  14. The entry in the DB just says [bLOB - 5.9 KiB] - if you drill down further it says Binary - do not edit (5.9 KiB) I did also create another variable in the table called thumbName in which i stored the name of the file that was uploaded but the actual binary data of the image is stored in thumb. Are you sure its not something to do with defining a header like Jock mentioned ???? it means nothing to me but you may understand? header('Content-Length: '.strlen($data)); header("Content-type: image/jpeg");
  15. BLOB - an uploaded image. Do I need to do something with a header file in order to make it display as an image?

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.