wel..the problem is more to display it in the format like: ex. Saturday, 26 January 2013
Someone has some php-code idea?
User Profile
Collapse
-
with letter combination i mean for example: ("HH:MM:SS") or date("Y")Leave a comment:
-
what is an explode or mktime? ..could you give me an example? I'm kinda new in the php/MySQL world..Leave a comment:
-
-
I just used this code:
...Code:<style type="text/css"> .blog_widget_02 { display: inline-block; *display: inline; *zoom: 1; width: 200px; } </style> <?php mysql_connect('localhost','root','') or die(mysql_error()); mysql_select_db ('databaseimage') or die(mysql_error()); $image = mysql_query("SELECT * FROM store ORDER BY id DESC");Leave a comment:
-
Showing "weekday, date (dd,mm,yyyy)" problem
Heey all!
I'm making an upload form, which will also add a date in the database. The date has to look like this format:
ex. Saturday, 26 January 2013
How can I do that? What type do I have to choose for the table row?
Thankss! -
-
Woops, sorry , yeah I meant escaping. And how do I do that? It still doesn't work, I'm a very beginner in php btw..Leave a comment:
-
How do I exit the $image?
What I have now so far is this:
...Code:<?php mysql_connect('localhost','root','') or die(mysql_error()); mysql_select_db ('databaseimage') or die(mysql_error()); $image = mysql_query("SELECT * FROM store ORDER BY id DESC"); { echo "<div class='images-container'>"; while ($row = mysql_fetch_assoc($image)) { echo "<divLeave a comment:
-
Oooh sorry, I didn't even know it was possible to use code tags..
Where do I have to put the div tags then?
Because the code above doesn't show the code of each image.. it just grabs all the images from the database with a limit of 9 images..
The code for getting the images is this (image.php):
...Code:<?php include 'core/init.php'; $image = stripslashes($_REQUEST['id']); $query = mysql_query("SELECTLeave a comment:
-
Gallery Of Blog Feed Interface Problem
Heeey all,
So I'm building a blog feed that echo's 9 images with a title above each image. (3 on each row) The images and the title come from a database and I'm using while and mysql_fetch_ass oc to show it. However, with my code it shows all the title and images on 1 vertical colomun... How can i fix this?
This is how it looks like right now: http://i48.tinypic.com/2utssc0.png
This is how my code looks...
No activity results to display
Show More
Leave a comment: