Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
100% Quality Score
Upvotes Received
3
Posts with Upvotes
3
Upvoting Members
3
Downvotes Received
0
Posts with Downvotes
0
Downvoting Members
0
0 Endorsements
~31.6K People Reached
Favorite Tags

81 Posted Topics

Member Avatar for GlenRogers

I'm doing a one page site. At the top of the page I have a fixed position header with logo, menu etc. As it stands now, when I click on a menu link to take me to the relevant section it takes me there ok but as the header is …

Member Avatar for bnmng
0
162
Member Avatar for GlenRogers

I've been using thisJQuery code to fade in divs (all of the same class .showme) But what I would like to do is fade out the previous div as the next one fades in. Can anyone offer assistance on this? $(document).ready(function() { /* Every time the window is scrolled ... …

Member Avatar for GlenRogers
0
273
Member Avatar for GlenRogers

I'm trying to use fullPage.js but its only ever showing my first section! I have my sections set up like this <div class="section"> Section 1 </div> <div class="section"> Section 2 </div> <div class="section"> Section 3 </div> and I inatlize like this <script> $(document).ready(function() { $('.wrapper').fullpage({ sectionsColor: ['blue', 'red', 'green'], }); …

Member Avatar for gentlemedia
0
410
Member Avatar for GlenRogers

Hi I'm using whatsmy.browsersize.com to get my browser size for adding mediaquries to my css files. For some reason when i write a media query for max-width: 1229px the query gets applied at 1350px! I'm writing my queries like this @media screen and (max-width: 1229px){ .galleries > ul > li …

Member Avatar for Violet_82
0
236
Member Avatar for GlenRogers

I have a simple form to search a table for the search term entered into that form. $query = $_GET['term']; $min_length = 1; if(strlen($query) >= $min_length){ $query = htmlspecialchars($query); $query = mysqli_real_escape_string($link, $query); } Here the variable 'query' is the search query posted using the get method from the form. …

Member Avatar for GlenRogers
0
245
Member Avatar for GlenRogers

Whats wrong with this query? For example $brand holds the value 'apple' Then I get the error 'unknown column 'apple' Can anyone see the problem? if(isset($_GET['brand']) ? $_GET['brand'] : 0){ $brand = (isset($_GET['brand']) ? $_GET['brand'] : 0); $sql = mysqli_query($link, "SELECT COUNT(id) FROM products WHERE brand = $brand AND status …

Member Avatar for diafol
0
3K
Member Avatar for GlenRogers

Ok,I havent a clue how to do this. I have a mysql table for products, each has id as the primary key. I have an admin page where I upload products to this table or delet/hide them too. But I want a way where when I'm uploading the products to …

Member Avatar for iamthwee
0
100
Member Avatar for GlenRogers

I have a form for adding products and their detail to a mysql db. I have another form that shows the products where I can remove the product from the db, I can also hide or show the product in the website. I need to be able to edite the …

Member Avatar for diafol
0
318
Member Avatar for GlenRogers

Hi, I'm using a shopping cart js plugin called simplecart. Im having trouble getting a tumb of the product image to appear with the product info in the cart. This line gets the full sized image to appear in the cart <img src='$file' class='item_thumb' alt='{$row['name']}' /> Does anyone know how …

0
138
Member Avatar for GlenRogers

I have a dropdown box to choose topics from a discussiob board so i can then view all the replies for deletion etc. At the minute when I choose a topic i then press a submit button and get all the answers. But is there any wayt i could have …

Member Avatar for diafol
0
171
Member Avatar for GlenRogers

I have 2 tables for a simple massage board, one for questions and one for answers. The table forum_questions has a field called 'reply' with holds an int value for the number of answers the question has. My problem is this: I have a form to delete answers, you pick …

Member Avatar for GlenRogers
0
295
Member Avatar for GlenRogers

I have file that is supposed to pass the id of a link to using the ajax post method to a php file so that a div on my webpage updates. But nothing happens so i think the class is not being passesd. Can anyone see the problem. blog.js $('a.bloglink').click(function(e) …

Member Avatar for JorgeM
0
287
Member Avatar for GlenRogers

Im trying to pass a session variable $_SESSION['id'] form one page to another. But in the page im trying to pass it to I get this error Undefined index id The pages are in different dirs but in the same parent dir obviously, would this have anything to do with …

Member Avatar for mmcdonald
0
170
Member Avatar for GlenRogers

I have a screip to resize an image, save it to a dir and store the path in mysql. This works ok. The images are gotten from a suppliers website where the filename of each is the product code. The variable $remote_file in my code looks like this ../images/products/wsx339.jpg. How …

Member Avatar for GlenRogers
0
262
Member Avatar for GlenRogers

I have a page with a menu of categories and subcategories of products. Categories have a class 'category' and subcategories have a class 'subcategory'. When either is clicked some AJAX sends the category to some php to compile the html which the AJAX then sends back to the page to …

Member Avatar for GlenRogers
0
270
Member Avatar for GlenRogers

I have a for with 2 dropdowns, 'category' and 'subcategory' I'm trying to make my page that it shows records(products) in the table based on dropdown selection of the subcategoy dropdown. So for example all records beloning to the subcat wheels have a subcat_id of 4. Sunbcategory table and products …

Member Avatar for GlenRogers
0
322
Member Avatar for GlenRogers

Hi, I use some jquery/ajax to try and get the id of a link button and display all the products associated with that id. I'm using the exact same code that worked for me on another site, but nothing happens when i click a button! This is the menu of …

Member Avatar for GlenRogers
0
181
Member Avatar for GlenRogers

I have a page to add products. On this page is a 'categorey' dropdown and a 'subcategory' dropdown. The subcategory dropdown should fill with the options based on the category dropdown selection. The code I have so far does not fill the subcat dropdown, can anyone see a problem? code …

Member Avatar for Banderson
0
4K
Member Avatar for GlenRogers

I've been trying to use mysqli instead of mysql. I have a file from another site which will fit nicely to this site im doing now, but i havent a clue what i need to do to convert it to mysqli. This is the file <?php include 'connect.php'; //populate form …

Member Avatar for GlenRogers
0
159
Member Avatar for GlenRogers

Hi I have a php header file that displays a random image from a mysql table each time the page is reloaded. I have done this just using rand() in the query. But doing it like this means that the same image could come up 3,4,5 times in a row! …

Member Avatar for GlenRogers
1
363
Member Avatar for GlenRogers

I have a form that shows images whos paths are stored in mysql. The form has 'hide' and 'show' submit buttons for each image. Pressing the hide button should set the value of the 'status' field to 2 (hidden). But it does nothing, my queries don't seem to execute. Here …

Member Avatar for GlenRogers
0
225
Member Avatar for GlenRogers

Hi could someone help me out here. I have a frm that has multiple entries. Each entry has 'artist' 'linl' and 'link text'. link and linktext are optional. My code at the minute needs all to be filled in, if I leave link and link trext blank I get errors. …

Member Avatar for pritaeas
0
149
Member Avatar for GlenRogers

I have a page with list items (links) that I need to be able to hide/show from my admin page. <script type="text/javascript"> $(document).ready(function(){ $("button").click(function(){ $("li").css("display","none"); }); }); </script> How do I get it to work that if i press a button in my admin page, it hides list items that …

Member Avatar for BMXDad
0
297
Member Avatar for GlenRogers

2 Divs are not showing when I upload to a server, but they show ok on my localhost(wampp). Can anyone offer assistance on why this may be? The divs in question are'footer' and 'poster' html <body> <div class="wrapper"> <?php include '../inc/header.php';?> <div id="info"> <div id="what"> <span class="h1">WHAT IS IT?</span> </div> …

Member Avatar for drjohn
0
227
Member Avatar for GlenRogers

Hi I take data from a html form to inseert to mysql, sometimes that data has single and double quotes in it. How do you get the quotes to be part of the string so i can add to mysql. Hers what I have, but this still gives me a …

Member Avatar for diafol
0
406
Member Avatar for GlenRogers

Hi guys, does anyone know of a way to make divs scrollable in android devices? Ihave used overflow:scroll; This works ok in pc browsers and even makes the div scrolable on the iphone, but does not make the div scrollable on an android device. Any help appreciated............

Member Avatar for GlenRogers
0
113
Member Avatar for GlenRogers

I have a load of images overlapping, I just done this by giving a css style of margin:0 -20px 0 -20px;. They overlap the one on the left and the one above, its to unioform looking. Is there any way to use js/jquery to give a class a random z-index? …

Member Avatar for GlenRogers
0
726
Member Avatar for GlenRogers

Can someone have a look at some code for me? Here the problem. This is meant to delet an email address form a mysql table then alert the user this has been done. If the address does not exist then it alerts the user to that too. But even if …

Member Avatar for GlenRogers
0
213
Member Avatar for GlenRogers

Hi, I need help! Im updating a div with groups of images using jquery ajax. I'm also using the Galleria plugin to display these images. My problem is this: on the first set of images loaded galleria works fine, but if i try to load differnt images galleria does not …

Member Avatar for GlenRogers
0
183
Member Avatar for GlenRogers

Hi, I have a page that has some images in groups of 1, 2 or 3. The image paths are retrievd from a mysql table. You click on one image and the whole group gets shown in another div. This works fine, I want to show the images using the …

Member Avatar for GlenRogers
0
131
Member Avatar for GlenRogers

Hi, I want to use the galleria plugin to show images on a site. Does anyone know how to get it to read from a mysql database table? Thanks..............

Member Avatar for JorgeM
0
89
Member Avatar for GlenRogers

Hi, I need to have a form with multiple image and description fields, say 15. So if 15 are filled in then it adds then it adds the images to 2 dirs(thumb and images) and saves the image pathname and the descriptions to the 2 mysql tables. I have this …

Member Avatar for diafol
0
210
Member Avatar for GlenRogers

Hi, I need help here. I have a for with multiple text inputs. input1 is link, input2 is description. This is repeated a number of time. Each link and description is one record, but I cant igure out how to add them to mysql as such. If I fill in …

Member Avatar for GlenRogers
0
327
Member Avatar for GlenRogers

I have an html form that has 10 text field for trhe user too enter dates into. When the user clicks the submit button each text field should be added as a new record to a mysql table. The way I have it now if only 2 are filled in, …

Member Avatar for GlenRogers
0
161
Member Avatar for GlenRogers

Hi I have a 'categories' mysql table and a 'subcategories' table. I need to make a form so the site owner can remove subcategories as needed. I was think of having a form with 2 dropdowns on it, the first to choose the category, the second to choose the subcategory. …

Member Avatar for masterjiraya
0
187
Member Avatar for GlenRogers

Hi, I have a problem I just cant solve. First I will explain what I am trying to do. I have a page with a menu consisting of categories of products, some of these categories have subcategories and some don't. Categories and subcategories are kept in mysql tables. The tables …

Member Avatar for GlenRogers
0
1K
Member Avatar for GlenRogers

I dont even know if this is an ajax problem, but maybe someone can help me!! I have a menu php file that containd-s categories of products, some of these categories have subcategories. I have it working that when you click a category then it shows all the products for …

Member Avatar for GlenRogers
0
136
Member Avatar for GlenRogers

Hi, Can you set auto increment in phpmyadmin to be 2? So that it goes 1, 3, 5, 7etc? Thanks...............

Member Avatar for GlenRogers
0
218
Member Avatar for GlenRogers

Hi. My page has a men that holds categories of products, some of these categoriees have subcategories, some dont. I have mysql tables category, subcategory and products. My code right now only adds products to the subcategories, it takes the id value of subcategory and puts it in the product_id …

Member Avatar for RvSon
0
180
Member Avatar for GlenRogers

Hi, Is the any way I can populate a dropdown navigation menu with categories and subcategories i have in mysql?? This is what I have so far, with the categories and subcategories just hardcoded in the html. <div class="menu"> <ul id="verticalmenu" class="glossymenu"> <li><a href="#" >Ribbon</a> <ul> <li><a href="#">7/8</a></li> <li><a href="#">5/8</a></li> …

Member Avatar for GlenRogers
0
1K
Member Avatar for GlenRogers

Hello. I have a div "content" that for some reason is positioned ok in ie and chrome etc but in firefox has no positioning! It just goes to the side of the page in firefox! here is the html for it. <div id="content"> <div class="nav"> <div id='cssmenu'> <ul> <li><a class="current" …

Member Avatar for GlenRogers
0
211
Member Avatar for GlenRogers

Hi, I have a web page(admin page) and using some JQuery I have it so that when you click the 'Add News' link a form appears in another div. This bit works ok. The form data gets sent to another php file which the either adds the data to a …

Member Avatar for broj1
0
254
Member Avatar for GlenRogers

Hi I have some code that has 2 querys to fill 2 dropdown boxes. I need to get an id from one depending on which selection is chosen, put it in a variable to use in the second query. My code is below with comments of what I want to …

Member Avatar for diafol
0
147
Member Avatar for GlenRogers

Hi So I have a div with 6 links(categories of products), the beside this I have another div which I want to fill with the products for a chosen category when a link is clicked. I have a mysql table containing all the products with each category having a unique …

Member Avatar for GlenRogers
0
416
Member Avatar for GlenRogers

I,m going through a tutorial for pagination using php mysql and ajax. I'm getting this error Warning: mysql_num_rows() expects parameter 1 to be resource, boolean given in C:\wamp\www\phpAjaxPagination\pageData.php on line 16 This is the file. <?php include_once('inc/dbConnect.inc.php'); include_once('inc/pagination.inc.php'); if(isset($_POST['pageId']) && !empty($_POST['pageId'])){ $id=$_POST['pageId']; }else{ $id='0'; } $pageLimit=PAGE_PER_NO*$id; $query="SELECT post,link from pagination …

Member Avatar for diafol
0
162
Member Avatar for GlenRogers

Hi. I have a php file with image links(mysql data) in one div, when a link is clicked the product_id is sent to another php file that builds the html to display all images(in another mysql table) with that product_id in another div. Someone else helped me out withsome ajax …

Member Avatar for soapyillusion
0
157
Member Avatar for GlenRogers

Hi, I have this query to add data to mysql $query = "INSERT INTO products VALUES('', '$acode', '$aname', '$acontent', '$aprice', '$remote_file', '$cat')"; My table is id int(20) primary ai code varchar(200) product_name varch(200) description varchar(600) price decimal(10, 2) imagepath varchar(200) product_id int(10) I have an html textarea to enter data …

Member Avatar for GlenRogers
0
98
Member Avatar for GlenRogers

This is probably simple enough to do, but I cant get it! I have a mysql table 'links' with these fields; id int 10 primary ai link varchar 200 description varchar 200 I have a links page to populate with this info. I want the desciption as the visible text. …

Member Avatar for EvolutionFallen
0
130
Member Avatar for GlenRogers

I'm not sure where to ask this, if this is the wrong place let me know. I have password protect a dir on my website(the admin dir) but when I put the user and password in it takes me into that dir. Is there anyway i can make it open …

Member Avatar for GlenRogers
0
96
Member Avatar for GlenRogers

Hi, I have this login form <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>Admin login</title> <link href="../css/submit.css" rel="stylesheet" type="text/css" /> <link href="../css/template.css" rel="stylesheet" type="text/css" /> <body> <img alt="full screen background image" src="../images/background.jpg" id="full-screen-background-image" /> <a href='../php/index.php'><span class="adminlinks">Home</span></a> <form class="form" action="login.php" method="post" enctype="multipart/form-data" name="login_form" id="login_form" style="margin-bottom:0px;"> <h1 style="margin-bottom: 0px">Admin Login</h1> …

Member Avatar for GlenRogers
0
787

The End.