redbullmarky
Staff Alumni-
Posts
2,863 -
Joined
-
Last visited
Never
Everything posted by redbullmarky
-
[!--quoteo(post=337942:date=Jan 19 2006, 12:11 PM:name=moberemk)--][div class=\'quotetop\']QUOTE(moberemk @ Jan 19 2006, 12:11 PM) [snapback]337942[/snapback][/div][div class=\'quotemain\'][!--quotec--] Well, fixed-width means that your site has a certain width, and doesn't get any wider, right? So you would want to edit that main content table's width to 800 pixels, to make sure that you don't alienate anyone who runs that resolution. Which, as it turns out, is most of the web. [/quote] ok, so if i'm getting this right - maybe a little wider in total, but with the ability to make the browser window much smaller without content falling off the edge?
-
[!--quoteo(post=337805:date=Jan 18 2006, 09:30 PM:name=moberemk)--][div class=\'quotetop\']QUOTE(moberemk @ Jan 18 2006, 09:30 PM) [snapback]337805[/snapback][/div][div class=\'quotemain\'][!--quotec--] Personally, I would rather not have a joke about Bush right next to an update on the whereabouts of bin Laden. [/quote] lol yeah point taken. i was thinking about how to do that in the best way possible, without actually making things too complicated. i was thinking maybe it could be a users preference what they see, just like the language filter will be. i think tho in the end, my decision was to keep the whole site quirky and not even have ANY serious articles but i'm not sure yet - i definitely think that this is gonna be a project which will continue to evolve, just like a real newspaper. as for rankings (based on user votes, i guess), that's gonna be brought forward even more, as it only really features on the article pages themselves and not next to the headlines or in any 'top stories' lists. can you elaborate on the bit about being fixed width a bit more? i kinda understand, but how else should i approach that? as for the colours, i'm not even sure ANY of the main colours will remain. i toned the colours right down as it was more comfortable staring at the screen all day, i just haven't yet bought the colours back to what they were. thanks for your thoughts! Mark
-
anyone have any thoughts? cheers
-
i just noticed that a couple of entries on the site logs are going to the 404 page, but i'm not sure why as i didnt know any of my links were broken. can anyone who visits the site that gets a 404 error please tell me where the broken link was or what they were trying to do? cheers Mark
-
Ok i've actually managed to (almost) finish a site which is a first in itself... The DinnerTimes is an online Newspaper where the users actually created the articles themselves. The idea being a bit like a blog, but in a journalistic style. there are other features there too and it's ever expanding. i've still got some work to do on the main homepage, just because i think the colours could be much better. but have a look and lemme know what you think... [a href=\"http://www.thedinnertimes.com\" target=\"_blank\"]The DinnerTimes[/a] (btw i'm already aware that the site doesnt completely validate but i'm working on that as we speak) cheers Mark
-
[!--quoteo(post=319297:date=Nov 16 2005, 11:33 PM:name=.Squirrel)--][div class=\'quotetop\']QUOTE(.Squirrel @ Nov 16 2005, 11:33 PM) 319297[/snapback][/div][div class=\'quotemain\'][!--quotec--] Anyone? It seems simple enough... :S ok, you may need to provide a bit more detail, but i'll have a bash, as it really depends how you've done things so far. if you've literally hard coded the images into the index page (ie, youre not using a PHP loop to display the images) then each image could have a hyperlink such as: <a href="image.php?image=a_picture.jpg"><img src="a_picture.jpg" /></a> when you click this link, image.php will open and you'll see in the URL something like: [a href=\"http://yoursite.com/image.php?image=a_picture.jpg\" target=\"_blank\"]http://yoursite.com/image.php?image=a_picture.jpg[/a] in your image.php file, just put the image in like this: <?php $image = $_GET['image']; // gets the filename from URL ?> ** and put a line similar to this where you want your image to appear <img src='<?php echo $image; ?>' /> that should set you on your way cheers mark
-
Trouble with DW MX login script
redbullmarky replied to grandadevans's topic in Editor Help (PhpStorm, VS Code, etc)
[!--quoteo(post=333511:date=Jan 5 2006, 02:01 PM:name=degsy)--][div class=\'quotetop\']QUOTE(degsy @ Jan 5 2006, 02:01 PM) 333511[/snapback][/div][div class=\'quotemain\'][!--quotec--] You could stick a foreach loop in to check what session variables are set that's pretty much it. you need to remember to start the session by putting session_start(); at the top of EVERY page you want to access $_SESSION['MM_Username'] in. -
hi guys i've recently dug a PC out of the box. the setup now is windows XP pro with IIS, php 5 and mysql 4. all works well as a nice little server, with a domain name too. for arguments sake i'm gonna say it's http://www.myserver.com that works however - i've installed a SSL cert on the server, etc, etc, which all works with php. the problem is when i come to using mysql from dreamweaver - i get a 404 error and some garb about the testing server. has anyone managed to set up a HTTPS site on their own server? all my mysql clients can connect to the server, including phpmyadmin, the only problem i have is setting up connections from dreamweaver. help!!! cheers Mark
-
Making a search bar like php freak's
redbullmarky replied to hmmm's topic in Editor Help (PhpStorm, VS Code, etc)
i agree and disagree, thorpe. dreamweaver makes it VERY easy to avoid underlying code, and just get on with drawing pretty tables and plonking text and graphics all over the place, but it's a very good way to get off to a very fast start and can even, to an extent, be a good learning tool. even with something so idiot-proof as dreamweaver (hence why i use it!!!), it's still very unpredictable with the results it spouts out. don't trust the WYSIWYG capabilities of it at all, and try, as thorpe sad, to get a bit deeper into understanding HTML. tables are very funny things, as is HTML, and can be unpredictable at the best of times. use dreamweaver as kinda like a notepad for your ideas instead of a serious WYSIWYG tool. i don't necessarily mean to rehash what has just been said, but just a view from another dreamweaver user who had (and still has) these problems occasionally. cheers -
most definitely!! I for one only mentioned it to one of the other mods yesterday so great to know the users feedback gets taken on board seriously. I'll always use a 3rd party scripts' documentation as a first port of call, followed by several hours of scratching my head, but there has been plenty of times where I coulda done with a hand. I for one learn PHP by ripping apart a copy of PHPBB (talk about the 'deep end'! lol) Good call! Cheers Mark
-
Help( many -many relationship)?
redbullmarky replied to chihcc's topic in Editor Help (PhpStorm, VS Code, etc)
hi can you give us a better idea of exactly what youre trying to do (ie what databases/tables) youre working with and i may be able to help cheers mark -
i like to add 'PHP and MySQL Web Development' by Luke Welling and Laura Thomson to the list of recommendations. It's not lame, neither is it hardcore, but it teaches you things from simple 'Hello World' scripts right through to developing content management systems, email programs, etc. It's pretty much written in 'English' speak too, not programmers speak, so people of all levels will easily find it useful.
-
Recordsets/Joining tables
redbullmarky replied to redbullmarky's topic in Editor Help (PhpStorm, VS Code, etc)
cheers bilbot, i managed to get this problem sorted on another thread, so for anyone else having the same problem : - SOLUTION -
hello all im making a back office recruitment system using dreamweaver, and whilst its not going too badly, ive just hit a brick wall. basically, i have two tables, Business Contacts (buscontacts) and Candidates (candidates). Both have fields fTitle (ie Mr, Mrs, Miss, etc), fForenames, fSurname. ive written a query like: SELECT buscontacts.fTitle,buscontacts.fForenames,buscontacts.fSurname, candidates.fTitle, candidates.fForenames, candidates.fSurname FROM mydatabase WHERE criteria matched which basically selects the name of the interviewer/business contact and the name of the candidate they interviewed. now - when i run this query using mysql from command line, it works and shows me what i want. but in php/dreamweaver, the recordset ignores the duplicate fields. i tried to use: $myrecordset['buscontacts.fForenames'] to distinguish it from $myrecordset['candidates.fForenames'] but that didnt work. how can i treat all the fields and display each data field as individual? this is really doing my head in and ive searched around but not yet found an answer ... can anyone here help??? cheers mark