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.

novice

Members
  • Joined

  • Last visited

  1. novice posted a topic in Frontend
    Hello all I have been trying to get this to work for hours but cant get it to work no matter what I change or do. Please someone put me out of my misery, it should be working on the search bar but nothing is happening? http://goo.gl/SNG4CX The extra code is : <?php include('inc/dbconnect.inc.php'); $result = mysql_query("SELECT * FROM `Supplement` WHERE `supplement_name` LIKE '%{$_GET['term']}%'"); $mainarray=array(); //create array while($row=mysql_fetch_array($result)) { $rowarray=array("label" => $row['supplement_name'], "id" => $row['supplement_id']); //add a row to array giving a label and id value array_push($mainarray, $rowarray); //add the new array to end of the main array } echo json_encode($mainarray); //encode the whole array in JSON and output ?> <script type="text/javascript"> $(document).ready(function() { $(".searchform").autocomplete({ source: "mng_search.php", minLength: 2, select: function( event, ui ) { window.location="detail.php?id="+ui.item.id; } }); }); </script> <div class="searchform"> <form action="supplement.php" method="get" id="searchform"> <input class="s search-input" type="text" name="searchterm" id="searchterm"></input> <input class="searchsubmit search-submit" type="submit" value="Search"></input> <input type="hidden" name="action" value="search" /> </form> </div> Thank you in advance
  2. Wow thank you, its always the easy things that I miss. Any chance you know why I can`t lower the social icons at the bottom without the whole footer moving down? Thanks again
  3. Can anyone either tell me why my slider wont work or tell me a way to get one to actually work? site is http://www.henchpress.co.uk I am going insane been trying to do it sine 7 am
  4. Wow, thanks guys, much appreciated. I've had a lot on and had to put this on the back burner, I found the find a replace tool, which is awesome. Serg, how would I create a dynamic page, I'm very new to php. I have created a HTML file I want to use, just don't know how to make it work as php, like you mentioned? Thanks for your help
  5. Is it possible to change certain keywords page wide, without having to re-type everything? For instance say my keyword is blank and I wanted to change the word to blanking.
  6. Hi thanks i tried that but it came up with an error, the system seams to work when i use this <?php $message= '<table width="98%" border="0" cellspacing="0" cellpadding="3"> <tr> <td colspan="2" valign="top" class="arialblack"> <div align="center"><strong>Customer Details</strong><br><br></div></td> </tr> <tr> <td width="30%" valign="top" class="arialblack">Full Name:</td> <td width="70%" valign="top" class="arialblack">'.$_POST['fullname'].'</td> </tr> <tr> <td width="30%" valign="top" class="arialblack">Business Name:</td> <td width="70%" valign="top" class="arialblack">'.$_POST['businessname'].'</td> </tr> <tr> <td width="30%" valign="top" class="arialblack">Address:</td> <td width="70%" valign="top" class="arialblack">'.$_POST['address'].'</td> </tr> <tr> <td width="30%" valign="top" class="arialblack">Post Code:</td> <td width="70%" valign="top" class="arialblack">'.$_POST['postcode'].'</td> </tr> <tr> <td width="30%" valign="top" class="arialblack">Email:</td> <td width="70%" valign="top" class="arialblack">'.$_POST['emailaddress'].'</td> </tr> <tr> <td width="30%" valign="top" class="arialblack">Phone Number:</td> <td width="70%" valign="top" class="arialblack">'.$_POST['phonenumber'].'</td> </tr> </table>'; $email = "catchall@#####.co.uk"; //$emailm = "catchall@#####.co.uk"; $emailm = "info@#####.co.uk"; $from = $email; $subject = "#####.co.uk Enquiry"; $headers= "MIME-Version: 1.0\r\n"; $headers.= "Content-type: text/html; charset=iso-8859-1\r\n"; $headers.= "From: $from\r\n"; $url = ""; mail($emailm, $subject, $message, $headers); header('location:http://www.#####.co.uk/thankyou.html') ?> i have added the catchall part, instead of my usual email, but i`m not sure if this is correct or what the catchall this is all about, but it seams to work like this. Is this right or should i change it? Thanks
  7. Hi thanks for that but i have spent forever designing a page with the contact form on the left of the screen, Is there no way of making the one i have posted work correctly? thanks again
  8. Sorry, but i dont really have a clue what i`m doing on the form. what do i need to change? should this send the contact details to me? and work properly or do i need to change anything else? Totally not got a clue what to do/change I got this off a mate a while ago, but he has gone traveling and now i`m stuck, it had catchall in it but i didnt know if i needed something else to use this? Thanks for any help (i need it)
  9. I think its something thats set up on office outlook that sends an email to anyone that sends me an email, but when i have tried my other email address it still sends the email back to the account that the contact form details come to... that is the complete contact.php file tho is there anything missing or that should be changed? thanks for your help
  10. Hi thanks for that, I have tried the contact form on another site and the problem i had is now solved, but i have now another problem the contact form doesnt seam to work all the time and it seams to send me an email to say that to say thankyou for contacting us (which should be sent to the person that has filled in the contact form) Is this correct? <?php $message= '<table width="98%" border="0" cellspacing="0" cellpadding="3"> <tr> <td colspan="2" valign="top" class="arialblack"> <div align="center"><strong>Customer Details</strong><br><br></div></td> </tr> <tr> <td width="30%" valign="top" class="arialblack">Full Name:</td> <td width="70%" valign="top" class="arialblack">'.$_POST['fullname'].'</td> </tr> <tr> <td width="30%" valign="top" class="arialblack">Business Name:</td> <td width="70%" valign="top" class="arialblack">'.$_POST['businessname'].'</td> </tr> <tr> <td width="30%" valign="top" class="arialblack">Address:</td> <td width="70%" valign="top" class="arialblack">'.$_POST['address'].'</td> </tr> <tr> <td width="30%" valign="top" class="arialblack">Post Code:</td> <td width="70%" valign="top" class="arialblack">'.$_POST['postcode'].'</td> </tr> <tr> <td width="30%" valign="top" class="arialblack">Email:</td> <td width="70%" valign="top" class="arialblack">'.$_POST['emailaddress'].'</td> </tr> <tr> <td width="30%" valign="top" class="arialblack">Phone Number:</td> <td width="70%" valign="top" class="arialblack">'.$_POST['phonenumber'].'</td> </tr> </table>'; $email = "info@#####.co.uk"; //$emailm = "info@#####.co.uk"; $emailm = "info@#####.co.uk"; $from = $email; $subject = "#####.co.uk Enquiry"; $headers= "MIME-Version: 1.0\r\n"; $headers.= "Content-type: text/html; charset=iso-8859-1\r\n"; $headers.= "From: $from\r\n"; $url = ""; mail($emailm, $subject, $message, $headers); header('location:http://www.#####.co.uk/thankyou.html') ?> Thanks for any help
  11. Hello all, I have a fully working contact form BUT i have done it so the writing is inside the form if you know what i mean : <form id="form1" name="form1" method="post" action="http://www.@@@@@@.co.uk/contact.php"> <p><input name="fullname" type="text" class="default-value" id="textfield" value="Name:" /></p> <p><input type="image" name="submit" id="submit" src="images/submit.png" class="button" /></p> </form> the site isnt live yet so i cant post the actual page i`m afraid. The problem i have is the writing is inside the contact form bar, so anybody filling the form in has to delete "name" before they actually type there name in, hopefully you know what i mean. Anyway i`d like it so when i click on name for instance the "name" goes and then they can just fill it in and so on. I`ll try and find another contact form like the one i`m using to show you an example. Thanks for any help
  12. Thanks everyone it`s all sorted now! many thanks
  13.    novice reacted to a post in a topic: How to make a picture look good
  14.    novice reacted to a post in a topic: How to make a picture look good
  15.    novice reacted to a post in a topic: How to make a picture look good
  16.    novice reacted to a post in a topic: How to make a picture look good
  17.    novice reacted to a post in a topic: How to make a picture look good
  18.    novice reacted to a post in a topic: How to make a picture look good
  19.    novice reacted to a post in a topic: How to make a picture look good
  20. Hi thanks for your help, I`ve downloaded fireworks to try and do what i need and hopefully more one day, is there a certain tool to do what i need fairly easily? Thanks to j05hr I really appreciate the video, I can now round the corners just need to figure out how to add the border, I did find another vid to do the border, but the lines wernt straight once i`d done it and looked totally wrong, so i`ve downloaded fireworks as i know it can be done on there some how. Thanks again for your help, sorry to be a pain but is there any tutorials to do what i need rounded corners and border in firework? thanks
  21. Hi thanks for that, how did you do it? I`d just like the line slightly thinner and it would be perfect, I have a few more that need making up, and would really like to be able to do it myself for in the future, is there a tutorial anywhere on the net? Thanks again much appreciated
  22. Hi thanks for the reply, I`d like to make this picture look more like this Propably very simple to do but cant seam to find any tutorials to get this effect anywhere? Thanks again for the help

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.