Jump to content

primefalcon

Members
  • Posts

    79
  • Joined

  • Last visited

Everything posted by primefalcon

  1. we know what he meant on that issue though a server running windows, at least we can hope thats what he meant since the server is actually apache.Though I would actually recommend xampp over wamp, but when you can start experimenting setting up your own server, ity's not actually that complicated and a lot easier to upgrade and manage once you get the hang of itthose errors are also simply saying the files you are trying to move do not exist or at least exists where you said they do, also try declaring the file base as document root it'd make things a lot easier for you
  2. Name: FreehostiaPrice: free/1.95/4.95/7.95Server side scripting(s)/database(s): perl/php/mysqlSpace: 250mb/500mb/10,000mb/30,000mbBandwidth: 5gb/10gb/120gb/320gbAds: no adds or linksWeb adress: Subdomain (yourname.freehostia.com), not sure with the paid services sorryAdditional Comments: I've only used their free services, but compared to others I've seen their services are very reliable unlike 110mb.com whom I also tried (their service claimed to be 98% uptime, I think they meant 98% downtime)
  3. you can also use ' instead of " like this echo "<table align='center'><font color='red'> and on....but pretty much as long as you are careful how to do the " and the ' you can pretty much use any html however you want in your php
  4. Thank you very much, and dang it I I didn't even notice the missing semicolon.Thank you so much to both of you :-)now all I need to figure out is how to split up the results of difference pages and have links to each of the pages, I'm thinking that probably another function call so off I go to do more study, though if someone can just give me a point where I should be looking that would be cool too :-)edit: btw the null does work since it is accessing a mysql database
  5. Ok I've modified my code to this below: <?phpecho "<table class='fore' border='1' bordercolor='white' width='100%' align='center'>";echo "<tr><td><center><b class='thead'>Character name</b></center></td><td><center><b class='thead'>Character Site/Blog URL</b></center></td><td><center><b class='thead'>Player's Comments</b></center></td></tr>";while ($row = mysql_fetch_array($result)){extract($row);echo "<tr>\n<td width='120' valign='top'><b class='tname'><a href='http://hiscore.runescape.com/lang/en/aff/runescape/hiscorepersonal.ws?user1=$name'>$name</a></b></td>\n<td width='50' valign='top'> " /*echo ended here *//*start of else funtion */if (empty($url)){echo "No Url Supplied";}else{echo "<a href=$url target='_self'><b class='tlink'>$name Website";}/* end of fuction */echo "</b></a></td>\n<td width='*' valign='top'><b class='tdes'>$description</b></td>\n</tr>\n";echo "<tr><td colspan='3'></td></tr>\n";}echo "</table>\n";?> in the broser I am getting this error:Parse error: syntax error, unexpected T_IF, expecting ',' or ';' in /home/content/m/e/t/metaconcert/html/main site/sections/registry/registry.php on line 171line 171 also happens to be:if (empty($url))so I'm not exactly sure whats going on
  6. I'm trying to apply and else and if statement in the following section as you see, and I have tried numerous things, and just cant get the thing to actually work.Could someone please advise how I can get the if and else statement below to actually work, thank you, as you can pr9obaly see I'n extract9iing info from a mysql database and try to make the content change, whether there's a supplied url or not <?phpecho "<table class='fore' border='1' bordercolor='white' width='100%' align='center'>";echo "<tr> <td><center><b class='thead'>Character name</b></center></td> <td><center><b class='thead'>Character Site/Blog URL</b></center></td> <td><center><b class='thead'>Player's Comments</b></center></td> </tr>";while ($row = mysql_fetch_array($result)) { extract($row); echo "<tr>\n <td width='120' valign='top'><b class='tname'><a href='http://hiscore.runescape.com/lang/en/aff/runescape/hiscorepersonal.ws?user1=$name'>$name</a></b></td>\n <td width='50' valign='top'><a href='$url' target='_self'><b class='tlink'>" if ($url = = null) { echo "No Url Supplied"; } else { echo "$name Website"; } "</b></a></td>\n <td width='*' valign='top'><b class='tdes'>$description</b></td>\n </tr>\n"; echo "<tr><td colspan='3'></td></tr>\n"; } echo "</table>\n"; ?>
  7. is there any way to limit results returned from a table such as a to cas in (take table as members say) select * from registry where name between 'a' and 'c' the between bit is where I'm having problems, I cant seem to get it to actualy include the C results with it, which is fine unless I want to do the Z results.and with doing this is there anyway to actually still do a sort by name as well?
  8. Ok that is exactly what I need to know, thank you very much.and I actually seen that example but I didn't draw the connectionso say doing this would be no problemCSS:a.main:link {color: #ff0000}a.homelink:link {color: #ff0000}HTML:<a href="someurl" class="main">say page 2</a> <a href="someurl" class="homelink">home</a>
  9. so the thing itself acts as the selector, thank you..ok that works, but is there anyway to actually do it so you cal select classes with this? or would I have to do that in a separate stylesheet
  10. still not working.i know this style sheet is working and linked properly as all the other things are working just not this hyperlink setting :-S
  11. Ok in an external stylesheet I've tried to define the hyperlink colors same as I do in html bodyas follows body {background-image: url('black');background-attachment: fixed;a:link {color: #FF0000}a:visited {color: #00FF00}a:hover {color: #FF00FF}a:active {color: #0000FF}} the actual first alink isn't actually working right and I've I've tried using a separate body just for the link selectors but.... cant get it to work. IS what I'm trying to do possible?sorry to be a pain just in the middle of converting one of my websites over to css and most of it is going great
  12. actually I found the problem I was having. it was the css link not the css file itselfAnd actually thank you I didn't know it was relative.sorry still rather new to css and wow, I can see how css will make everything so much easier and quicker to change site themes
  13. I've tried using a global reference like this body {background-image: url('http://primefalcon.runescaperegistry.com/images/starfield.gif');background-attachment: fixed} so the pages in all the separate locations can link to it but it didn't seem to work
  14. ok for my website I want to be able to specify 1 single background image to useIn the external style sheet I'm using: body {background-image: url('images/starfield.gif');background-attachment: fixed} What I need help with is how do I set the url, so all the pages that link to the stylesheet, know where to find then image to use as the background, rather than try to search for an image folder where the page is.Sorry for not being ablee to word this clearer, I hope it makes sense
  15. primefalcon

    xlst vs php

    I'm just starting to learn php...and am wondering if php is as efficient at handling xml documents as xlst
  16. thank you, I just thought you could create custom tags using the cssI've worked out this works though:B.rhead /* <b class="runeheader"> */{font-family:new times roman;font-weight: normal;color:#0000ff;text-align:left;font-size:14pt}B.rbody /* <b class="rbody"> */{font-family:new times roman;font-style:italic;font-weight:normal;color:#0000ff;text-align: left;font-size:12pt}B.shead /* <b class="rhead"> */{font-family:new times roman;font-weight: normal;color:#ffff00;text-align:left;font-size:14pt}and the body of text<b class="shead> hey </b>
  17. primefalcon

    css selectors

    I'm sorry to be such a noob here....but I'm just trying tog et to grips with cssfrom what i understand you can choose what selector you what which i did and it works in Firefox but not ie, since I'm new to it, I'm prob doing something really simple wrong, but I just cant work it out heres the css filedh{font-family:new times roman;font-weight:600;color:#00cc00;text-align:left;font-size:18pt;}rh{font-family:new times roman;font-weight: normal;color:#0000ff;text-align:left;font-size:14pt}rc{font-family:new times roman;font-style:italic;font-weight:normal;color:#0000ff;text-align: left;font-size:12pt}and heres how I am doing the body of the text<dh>heading</dh><br/><rh> sub heading </rh><br/><rc> body of text </rc>and as i said it works perfectly in firefox but not I.E.can someone tell me what stupid mistake I'm doing please
  18. if you have problems you can always just put the image in a table like this, i know this may be a little long but tables can also be handy to align other content with the picture<table width="whatever your picture width is" height="whatever your picture height is" align="center"><tr><td width="picture width" height="picture width">Image url</td></tr></table
  19. you need php and mysql (or whatever database your hosting service uses which is most likely mysql)
  20. primefalcon

    <p> tag

    if your using it to denote a paragraph such as here<p>is an exampleyou would instead dohere<p/>here is an examplesame goes with line breaksinstead of just <br> you do <br/>
  21. ahh double .'s thats the bit i forgot i was trying it with single.THANK YOU SIR :-)
  22. I have 1 quick question as i seem to have brain fry atmsay heres a folder structure with web page 1 linking to a second web page that is inside a folder:lets just say its like this <a href="folder 1/webpage2.html>web page 1.html------<folder 1>------------web page 2.htmlwhich now puts us on web page 2my question is this as i seem to have forgotten this, how do I put a link back up a folder to page 1 without entering a complete web address link
  23. hey :-) I'm new to these forums I'm just starting to learn well stuff I'm from Australia now living in americaso far i have html 4.01 down and xhtml barring 1 bugnext I'm looking at either learning javascript or php not sure which.anyhow fromn what I've seen so far this forum is filled with great people so
  24. Ok its listed now btw what kind of system requirements are needed for it? I'm asking as atm I'm using windows and am looking to switch over to linux, I tried fedora and seemed to have some probs installing itOn this system I'm running a 1 gig p3 with 128 ram (which yes i know i need to update)and and a 60 gig hard drive
  25. just one other thing too please if you list a operating system can you please list what class of OS it is for examplefedora core / linux
×
×
  • Create New...