| Today's Featured Posts |
| Posts selected by moderators as being high in quality |
No posts were hand-selected for today, but here are some popular recent discussions.
by riseofthevalk
in PHP and MySQL (May 3 '08, 08:33 PM)
Hi all, I have a question. I have two mysql tables - one with all the users on my site and another with user groups, ones which they can create. Now the group ID is assigned to the first table - with the users themselves whenever they join/create one. That's all fine and dandy. However, I need to total up certain numbers which exist in the users table based on the specific group. I'm not really sure where to begin with that but I have a general idea. Anyone think they can help me? If you need a clearer explanation -
table 1 = user names, random number, group ID
table 2 = group ID
I need to get the sum of the random number in each group. No clue where to start.
by varela286
in PHP and MySQL (May 4 '08, 11:45 AM)
Hello all.
I made a database for my images and it's all working. I can upload images to my database and I can see it with this script:
<html>
<body>
<img src="image.php?id=1" border="0" alt="" />
</body>
</html>
With this I can only see the image #1. I want to be able to write the number of the image in a form and then open the image with the number I write there. Help please?
Thank you very much.
Hello, I'm new here! I want someone to make me a site design and please make it in photoshop and save it as a gif or png. Oh by the way, my website is called KidWebSafe and it is located at http://www.kidwebsafe.net/
Thanks!!
Hi,
I would like to make a section just like this web designer has on her site. The site is http://monicaokubo.com/ The part where you just click on the image and the content shows up in a scrolling form. What should I know to achieve that effect?
Thanks in advance.
Right, where do I begin?!
First of all I’d like to thank anyone who has helped me so far with this rather annoying website I’m building. Anyway, one problem I can’t seem to fix has to do with images not showing up… this is a little difficult to explain so bear with me.
This website I’m building is very complicated… complicated for me anyway because I’m a designer not a programmer and this website is all php, css and tpl files. I’m editing the design which is near impossible to do in Dreamweaver because I’m accustomed to designing websites in design view with a little coding now and then. This little bleeder looks like it’s written in ancient Egyptian to me with things like {$showtitle} {if $error eq ""}{$beginning} - {$ending} {$lang61} {$total}{/if}. Anyhow I’m waffling on here so I’ll explain my problem.
Having spent near on 2 weeks getting to logo to align to the left of a centered website and making sure it looks the same in all web browsers I noticed that the logo and the advertisements were not showing up on the “Videos” page and the Members page (it’s a youtube clone). The route it takes on these two pages is different to all the other pages because these pages have sub menus i.e Recently added, Most popular, Top rated etc. The route looks like this http://www.mywebsite.com/browse/videos/z/0/1/RecentlyAdded. The links on the adverts are there and clicking on the logo takes you back to the main page, it’s just not showing the image source for these 2 things. All the other graphics show up fine, it’s just the logo and adverts that won’t show up in “Videos” and “Members”.
It would be easy just to show you the website but I’m not allowed because It’s top secret apparently.
Any help would be great
by Petro1979
in Starting Out (May 6 '08, 01:27 PM)
Hello,
I have some questions to ask and I just want to get them all out in one place. I am trying to develop a dynamic website and have the generalities down but need direction on my technical setup before I get too far along and have to backtrack.
- What is recommended as being being safer - ASP or PHP? I started out building with PHP and registered variables but apparently that is not as safe as it once was. It looks like scripts can be modified though to still use the function but I don't know. Which is the way to go?
- For Javascript, what library is recommended? I see the "Big Four," but I'm wondering can you have more than one. Also does anyone use the Echo Library? How easy is it to use these and customize images, etc to your webpage?
- Can you have more than one Javascript library? Has anyone found it easier to build their own?
- Does anyone recommend a CMS that has a built-in cart function with a gift certificate capacity.
- Are pre-made CMS systems even designed for more dynamic data to be displayed. I currently run my site off of WAMP and am looking for the benefit of these things other systems without having to unravel the 3rd party to code customize my site.
- For hosting I'm looking for where I get what I want. I looked at a lot of hosting companies and when I finally spoke with someone from a company that I thought was good, and it basically seemed like the best way was to buy your own. I guess my question is, how do websites hosted out of a person's basement handle millions of hits and what's the way to go for a website that's going to have a lot of volume?
- I'd like to include a user e-mail function and I've seen that hmailserver is open source and kind of what I'm looking for. I see how to send e-mails with PHP, but I'm currently at a loss with how to receive e-mails which is certainly a problem
- Why don't more websites have e-mail capabilities? What mail functionality do you use? Can it just be PHP and MySQL?
Thanks for your help in advance. It's appreciated.
Hey there,
I could use some help.
I use the web developer toolbar extension in Firefox. One of the features I use often is the ability to switch the rendering engine to IE6(version something?).
When I create web pages that use em font sizes, the text in the IE rendered page appears significantly smaller than that of the default Firefox. Unfortunately I no longer have IE6 in order to test if this happens in the actual browser, or just through the extension.
One way I've solved this minor issue is by changing the character encoding from UTF to ISO. Once done text sizes will render consistently on both. However on a current project I'm working on, if I use this method, certain characters become screwed... miscellaneous euro/asterisk symbols appear in place of what should be there.
Is there something simple I've overlooked? I ideally need a solid way to test in the last generation of IE. Any thoughts?
Best Regards,
Trico
I am new to this world so please be patient with me. Anyway, I am a director of Education at a school in Columbus, Ohio. We have a website which absolutely stinks. Well, I want to modify it, etc. The host of the website sent me the ip address and I have the user name and password so that I will be able to modify the website but I don't know how to get 'behind the scenes' to modify the website. How do I use the ip address, etc. to get behind the scenes to update the website? Any help will be greately appreciated.
by KillaTeddyX
in PHP and MySQL (May 5 '08, 08:19 AM)
Hey all, I am having some issues at the moment with some real basic stuff and it is baffiling me as I have been away from the web design scene for some time and am trying to re-teach myself stuff to wipe away the cobwebs. Anyhow the problem I am having at the moment is that I am creating a bookstore website for a friend and the coding I am doing is spouting this message out, You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ''books' NATURAL JOIN 'authors'' at line 1
Below is the code I am using
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> <title>Untitled Document</title> </head> <table border="1" cellpadding="0" cellspacing="0"> <tr> <th>Title</th> <th>Author</th> <th>Pages</th> </tr> <?php include('db_login.php'); $connection= mysql_connect($db_host, $db_user, $db_pass); if(!$connection){ die("Couldnot make a connection to the server please check your details <br />". mysql_error()); } $db_select= mysql_select_db($db_name); if(!$db_select){ die('Couldnot select database <br />'. mysql_error()); } //Below is where its throwng a fit at $query = "SELECT * FROM 'books' NATURAL JOIN 'authors'";
$result= mysql_query($query); if(!$result){ die('Couldnot execute that query <br />'. mysql_error()); } while($row = mysql_fetch_array($result, MYSQL_ASSOC)){ $title= $row["title"]; $author= $row["author"]; $pages= $row["pages"]; echo "<tr>"; echo "<td>$title</td>"; echo "<td>$author</td>"; echo "<td>$pages</td>"; echo "</tr>"; } mysql_close($connection); ?> </table> <body> </body> </html>
I am working on launching a simple blog where every now and then I will add flash videos. I did some modification to the theme to make it look how I want and it is almost ready... but what I need help with is... a way to have different size (width and height) of the flash video from the main page and individual page ....
The individual post page has only one sidebar and the main page has two. Now I want my video to be smaller on the main page so it fits, but then when going to the post page I want the video to be larger so it fits there perfectly too.
I know it's easier to just continue with the same size but I want it this way (removed one of the sidebars in purpose from the post page).
Note: on the first page the video doesn't have to play- meaning when someone clicks on the video on the main page they should be directed to the post page instead of the video starting to play.... so for all I care I could have an image or screenshot of the video on the main page. I just don't know how to do it.
I would really appreciate if anyone could direct me to a wordpress plug in or show me how to do this. Thanks
|
| Before Posting |
| Note that some forums have their own additional rules. |
|
Before you participate in discussions at Web Design Forums.net, you must read and agree to the forum rules.
|
|
|