• Help
  • Search
  • Login
  • Register
  • Home

Forum: web design and graphics community

  Show Posts
Pages: 1 2 [3] 4 5 ... 11
31  Web Development / Coding / Re: why isn't my y background repeating? o_O; on: April 06, 2008, 11:48:58 AM
First off, your code is spread out too thin so it's hard for a lot of people to read.  Try eliminating all the unneccessary space between the {} tags.

Second, it's a good idea to check to see if your page is valid through the W3C Markup Validator.  Your current page doesn't have a doctype and the placement of the code in the <head> tag is causing an error with the body tag.

Finally, try simplifying your content area by eliminating divs to dwindle down the problem tag.  It also helps to show us the code to your index page, so we can compare the the stylesheet to the actual usage of those commands.
32  Web Development / Advertisements / Affiliation / Mora Productions on: March 28, 2008, 11:04:59 AM
I would like to announce the opening of my new site which offers custom designs at affordable prices:

Mora Productions

The portfolio boasts a large selection of examples to view my previous works, and prices for layouts are as little as $10.  The packages include full coding and layout design to your specifications, along with the availability of extras (additional cost may be added).
33  Web Development / Coding / Re: Layout/Iframe wont budge on: March 13, 2008, 11:20:55 PM
Within your code is a single <td> which is pushing your content to the right.

The problem is here (with the troublesome <td> in bold):

Quote
<td colspan="2" rowspan="2">
         <img src="images/Index_02.gif" width="297" height="327" alt=""></td>
      <td>
         <TD WIDTH="353" HEIGHT="258"><iframe src="main.html" name="frame" WIDTH="353" HEIGHT="258" frameborder="0"></iframe></TD>

Simply delete the <td> and your problem will be solved.

34  Web Development / Coding / Re: Row Output - Two Fields As Focus on: March 04, 2008, 10:22:19 PM
It works!!  Thank you so much  Sad  I've been working on this for days, and just couldn't get the right script.  You taught me so much about the php with your help and dropped a site of 150 pages to just 6!!!
35  Web Development / Coding / Re: Row Output - Two Fields As Focus on: March 04, 2008, 08:23:10 PM
I completely apologize for my confusing explanation, I haven't quite figured out the terminology for php (far from it).  And thanks for the cleanup, the code looks much better! 

Now, on to the (hopefully more clear) explanation.  The category page correctly compiles the categories, and when the link:

Code:
<li><a href=\"inuyashayear.php?category_id=$category_id\">$category</A></li>

is clicked the full list of years for that category correctly appear.  The problem lies when I attempt to click on the link:

Code:
<li><a href="?a=show&year='.$year.'">'.$year.'</a></li>

which is supposed to lead the visitor to a list of those rows specific to both the category already clicked and the year already clicked.  The result, however, is an empty page where the row information is supposed to be shown.  I can't figure out how to specify the category_id for the row list according to same category_id clicked at the beginning (the one on the category page).

Any ideas how to specify the category_id for the final row list to be exactly like that which was clicked at the beginning?
36  Web Development / Coding / [solved]Row Output - Two Fields As Focus on: March 04, 2008, 09:04:54 AM
I am currently working on a site which allows visitors to access the database information through two fields: category and year. The fields are the designators for the final output of information, and here is where my problem lies. The layout for visitor browsing is as such:

click category -> click year of category -> arrive at row output specified by category and year.

The problem is the final step, where the rows are outputted according to the specific category and year of category already chosen (here seen by the links). While the categories and corresponding years are properly returned for their own pages, the page with the final row information is returned as blank. The page refuses to show the proper category unless a specific number is given within the final category_id WHERE clause, but I wish the category_id to be specified by the category previously clicked rather than by a single number, as every category and year will be using the same php code to guide visitors.  I would be very grateful for any help, hints, pointers, etc.

Here is the category php code (note the category php is on a different page than the year/row output page).

Code:
<?php 
 
mysql_connect
(localhost,user,pw); 
@
mysql_select_db(db) or die( "Unable to select database"); 
 
$query = "SELECT DISTINCT category, category_id FROM `archives` WHERE `group` like '%inuyasha%' ORDER BY `category` ASC "; 
$result = mysql_query($query) or die(mysql_error()); 
 
while(
$row=mysql_fetch_array($result)) 
{ 
extract($row); 
 
echo 
"<li><a href=\"inuyashayear.php?category_id=$category_id\">$category</A></li>"; 
 
} 
 
?>

And here is the year/output code:

Code:
<?php 
 
mysql_connect
(localhost,user,pw); 
@
mysql_select_db(db) or die( "Unable to select database"); 
 
if (
is_numeric($_GET["category_id"])) 
{ 
$category_id = $_GET["category_id"]; 
} 
 
$a = strip_tags(trim(htmlentities($_GET["a"], ENT_QUOTES))); 
 
if (empty(
$a)) { $a = 'index'; } 
 
switch (
$a) 
{ 
 
case 
'index': 
 
$select_year = mysql_query("SELECT DISTINCT `year`, category_id FROM `archives` WHERE `category_id` = '$category_id' And `group` like '%inuyasha%' ORDER BY `year` desc") or die (mysql_error()); 
 
while(
$row2=mysql_fetch_array($select_year)) 
{ 
extract ($row2); 
 
$select_year_count = mysql_query("SELECT * FROM `archives` where `year`='$year' ORDER BY `year` ASC") or die (mysql_error()); 
 
echo 
"<li><a href=\"?a=show&year=$year\">$year</a></li>"; 
 
} 
 
break; 
 
case 
'show': 
 
$year2 = strip_tags(trim(htmlentities($_GET["year"], ENT_QUOTES))); 
 
$category_id2 = strip_tags(trim(htmlentities($_GET["category_id"], ENT_QUOTES))); 
 
// Example Start Query 
$query = "select DISTINCT year, category_id, title from `archives` WHERE `year`='$year2' AND `category_id` ='$category_id2' And `group` like '%inuyasha%' order by title desc "; 
$result = mysql_query($query) or die(mysql_error()); 
 
while(
$row=mysql_fetch_array($result)) 
{ 
extract($row); 
 
echo 
"<li>$title</li>"; 
 
} 
 
} 
 
?>
37  Web Development / Advertisements / Affiliation / Re: mindSKETCH on: February 27, 2008, 08:45:33 PM
Thanks for the heads up on the extreme shortening of the padding.
38  Art Boards / Requests & offers / Re: Help In Coding The Layout.. on: February 27, 2008, 09:47:44 AM
I'm a little curious.  Are you making two layouts at once or are you having two discussions on the same topic?  Because I'm sure Gerrad can you give the answers you're looking for, also, so you don't need me.

Unless I'm completely wrong and you really are making two layouts at once.
39  Art Boards / Requests & offers / Re: Can i request a web design? on: February 27, 2008, 09:45:27 AM
I'm afraid I can't help you here.  I'm completely clueless on how to manage a Ragnarok Online server, but I'm sure there are forums out there which can help you set up your server.
40  Art Boards / Requests & offers / Re: Help In Coding The Layout.. on: February 27, 2008, 12:21:20 AM
First, what sort of layout were you wanting?  There is div (divider), table, or iframe.  Each has their own strengths and weaknesses.

Also, if you're meaning any site which offers free hosting, there are many out there to choose from.  The more generic are Freewebs, Geocities, Tripod, Solitum Hosting, 100WebSpace, and 5gigs, but you can just google a search using the words free and hosting to find what type of plan you're looking for.
41  Art Boards / Requests & offers / Re: Can i request a web design? on: February 26, 2008, 09:03:35 PM
I've placed the php code back onto the page and made available the .zip folder for you to download the entire layout.

Download the layout?
42  Art Boards / Requests & offers / Re: Can i request a web design? on: February 26, 2008, 04:49:45 PM
Actually, the index page has the php extension, so php code can be placed in the file and work.  The code won't show because the host is localized, as mentioned before.  I assume once you put up the layout and change the IP addresses to what they are supposed to point to, the code will work.
43  Art Boards / Requests & offers / Re: Can i request a web design? on: February 26, 2008, 11:05:57 AM
I can place the php code into the layout in the banner area, which is what I designed the space to be for, but nothing will appear (I've already tried).  And the title has been changed, since I wasn't sure what to put for a name of the layout.
44  Web Development / Coding / Re: DIV background not working! on: February 26, 2008, 10:49:05 AM
Looking at your code, there are a few inconsistencies with the number of ids on the page versus your CSS page.  Also, the style attributes at the top of the page may not work because you haven't set their style sheet language, like so:

Code:
<style type="text/css">

The contents within are also repetitive with what is in the CSS page, so I recommend you remove the style of the html page entirely.  The entire content in the body tag of the html page also seems unnecessary, and the asigned color background could be interferring with the CSS assigned background image and color.

Try removing all those things and see if the background appears, because your CSS coding looks good.
45  Web Development / Web Design / Re: Need Feedback :] on: February 25, 2008, 09:04:47 PM
The sample image height is too much for my screen (resolution 1024x768), so I have to scroll down to view the remaining portions of the picture.  The colors work well together, though the white background is too simplistic, and the links are very visible.  However, the circular content area could be tricky to place the iframe.  Overall, though, the layout is quite pleasing to the eye and very easy to navigate.
Pages: 1 2 [3] 4 5 ... 11
  • Welcome, Guest
  • Members login
  • Register for free

General

  • General
  • New members
  • Announcements
  • Support / Suggestions

Art boards

  • Creative mediums
  • Requests and offers
  • Tutorials
  • Celestial Star tutorials

Web development

  • Coding
  • Web design
  • Advertisements / affiliation

Off-topic

  • The non-sense
  • Ententainment

Go up
eXTReMe Tracker
  • Valid XHTML
  • Valid CSS
Powered by SMF 1.1.2 | SMF © 2006-2007, Simple Machines LLC | Seo4Smf v0.2 © Webmaster's Talks
Loading...