Search found 57 matches

by louiegiezer
Thu Nov 10, 2011 9:24 pm
Forum: Tutorials
Topic: Categorize my blog topic...
Replies: 17
Views: 1810

Re: Categorize my blog topic...

I make inner join like you said but the result is this... SPORT nba 2011 SPORT nba 2010 MOVIE Iron Man 2 MOVIE Iron Man 1 but I want to make it like this : SPORT nba 2011 nba 2010 MOVIE Iron Man 2 Iron Man 1 Any ideas how to do this? Here's my code [syntax=php] $sql = "SELECT `blog_category`.`i...
by louiegiezer
Thu Nov 10, 2011 7:17 pm
Forum: (X)HTML
Topic: html tag
Replies: 2
Views: 2028

Re: html tag

Topic Solved i figure out that this tag is <ul>.
by louiegiezer
Thu Nov 10, 2011 7:14 pm
Forum: JavaScript
Topic: Expand and collapsing
Replies: 3
Views: 914

Re: Expand and collapsing

i remake this code it looks like creepy. i practice the sql join query and the function method. at this thread the problem is the javascript i think it is not compatible inside of loop statement. but when you removed to the sql query its working.
by louiegiezer
Thu Nov 10, 2011 10:32 am
Forum: JavaScript
Topic: Expand and collapsing
Replies: 3
Views: 914

Expand and collapsing

why does my javascript code expanding and collapsing not working inside of loop [syntax=php] <div id="categories"> <?php $sel = "select * from `blog_cat`"; $cat = mysql_query($sel); while($data = mysql_fetch_assoc($cat)){ echo "<a href='JavaScript:doMenu('main');' id=xmain>[...
by louiegiezer
Wed Nov 09, 2011 8:52 pm
Forum: (X)HTML
Topic: html tag
Replies: 2
Views: 2028

html tag

what kind of tag is this?
wat is this.png
wat is this.png (6.1 KiB) Viewed 2028 times
by louiegiezer
Wed Nov 09, 2011 7:14 pm
Forum: Tutorials
Topic: Categorize my blog topic...
Replies: 17
Views: 1810

Re: Categorize my blog topic...

teach me how to facilitate my code haha...
by louiegiezer
Wed Nov 09, 2011 6:46 pm
Forum: Tutorials
Topic: Categorize my blog topic...
Replies: 17
Views: 1810

Re: Categorize my blog topic...

I do not know how to use the inner join and I am not too uses a different method to facilitate. would you do now in my code? thanks for the advice
by louiegiezer
Wed Nov 09, 2011 6:14 pm
Forum: Tutorials
Topic: Categorize my blog topic...
Replies: 17
Views: 1810

Re: Categorize my blog topic...

[syntax=php] <div id="categories"> <?php $select = mysql_query("SELECT * FROM `blog_cat`"); while($data = mysql_fetch_assoc($select)){ echo"<label>$data[name]</label><br>"; $select2 = mysql_query("SELECT * FROM `posts` WHERE `post_cid`='".$data['id']."' &...
by louiegiezer
Wed Nov 09, 2011 11:04 am
Forum: Tutorials
Topic: Categorize my blog topic...
Replies: 17
Views: 1810

Re: Categorize my blog topic...

code for fetch the category list on my database [syntax=php] <p class="topic-cat"><select name='cid'><option value='0'>Please Choose</option> <?php $query = "SELECT * FROM `blog_cat` ORDER BY id ASC"; $result = mysql_query($query) or die(mysql_error()); if(mysql_num_rows($result)...
by louiegiezer
Tue Nov 08, 2011 9:32 am
Forum: Tutorials
Topic: Categorize my blog topic...
Replies: 17
Views: 1810

Re: Categorize my blog topic...

i already have a cat_id in the column of posts. so in my form to post what is the best idea, I have a plan to make an select option tag to call my categories in the table of blog_cat and insert into the database of posts. how can i start work in this part...haha :lol:
by louiegiezer
Tue Nov 08, 2011 6:34 am
Forum: Tutorials
Topic: Categorize my blog topic...
Replies: 17
Views: 1810

Re: Categorize my blog topic...

I finished the database structure...now i make the form of add a category... [syntax=php] function submit_category($category){ $category = mysql_real_escape_string(htmlentities($category)); mysql_query("INSERT INTO `blog_cat` (`name`) VALUES ('{$category}')"); } if(isset($_POST['category']...
by louiegiezer
Mon Nov 07, 2011 6:32 pm
Forum: Tutorials
Topic: Categorize my blog topic...
Replies: 17
Views: 1810

Categorize my blog topic...

hello jacek in your blog tutorial i want to categorize to arranged the topic...i want a simple idea to start my coding...
by louiegiezer
Sun Nov 06, 2011 1:22 pm
Forum: General Chat
Topic: Free web hosting
Replies: 1
Views: 532

Free web hosting

Hey Guys!

im looking for the best free web hosting because i wanna upload my blog website 4 my project in school...
by louiegiezer
Mon Oct 24, 2011 1:01 pm
Forum: CSS / Styling
Topic: Div container
Replies: 2
Views: 1663

Re: Div container

it's ok now jacek thanks..
by louiegiezer
Sat Oct 22, 2011 12:47 am
Forum: CSS / Styling
Topic: Div container
Replies: 2
Views: 1663

Div container

Hi, I'm making a website, and have some css to put two divs float into container This is my css and HTML code : [syntax=xhtml]<div class='container''> <div class='class1'> div1 </div> <div class='class2'> div 2 </div> </div>[/syntax] [syntax=css] .class1 { float:left; border:1px solid #000; } .class...