
defeated
Members-
Posts
246 -
Joined
-
Last visited
Everything posted by defeated
-
It's a problem with my host. No hack
-
I can't get into phpMYAdmin either. Same error. Going to ring the hosts to see what they say while watching what feedback I get here.. The db can not be even close to full yet... or should not be anyway.
-
I don't know what the following error msg means... i've worked out that it is something to do with the db. MySQL said: #5 - Out of memory (Needed 1042840 bytes) Have I just been hacked? what do I do?
-
Thank you very much. I'll give it a go tomorrow and see what happens!
-
Sorry... typed it in at the same time... you must have pushed post first.. and I didn't check what you posted. Still... at least you now know you were right!
-
<input name='thename' type='password' /> It's nice and easy!!
-
I thought the same. My site had a live clock on it but it was in an input on the page so I couldn't get the page to validate without adding in a whole form to go with it. So when I redid the site using css instead of tables I left the clock out. All of a sudden I started getting mails from people who used the site for the clock. 6 of them had bookmarked the page so that they could call it up for the time and date. Others just liked it and thought I should put it back. So it's back... but not in an input this time. My site is a very local site (Ireland) and visitors from outside the country are not much good to our business so I don't much care about the time coming up wrong in other time zones (if it is). My view now is that it is completely unneccessary to have a clock on your site but it is harmless and I personally quite like it. It adds a bit of movement to an otherwise static page without having to put in flash etc.
-
Thanks for that but I'm not sure I entirely follow it. Could you explain what each part does? Do I have to define $1? Or does that code as it is work for everything? (changing the oldpage and newpage paramaters of course). Thanks for your help. If yahoo was any good at keeping up with changes none of this would be necessary, but I'm getting a lot of bounces from them.
-
I wanted the same for my site. It will not happen. The clock will only refresh when the page is refreshed in php. I used liveclock.js found on google. If a user has java turned off then it won't show so I put it in a place where it won't matter and did not put any further text around it. You don't want to have "The current time is: " showing on your site. Check out how I implemented it at http://www.jackiebrownmedical.ie Ian.
-
Hi, I want to put some 301 redirects into my htaccess file but the redirects are for dynamic pages. Does anybody know if it is possible to write something like the following: Redirect 301 /oldpage.php?* http://www.example.com/newpage.php?* I don't want to break my site. Cheers.
-
Fenway, I just got it to work.... I did something really stupid... put in the wrong field name for one of my date fields! How much after the original post is this?? Still.... all's well that ends well. thanks for your help once again.... even if it's a little bit belated this time. Ian.
-
I don't mind the bevels. I like them on the main box of your site... nicely rendered. I would like to see some onhover and selected changes on your menu though.... that's just what I like though. Haven't seen any sites Guilty gear has posted but I haven't seen even one nice comment from him yet.... So don't get bummed out by his overzealous "critique". I did find a typo on the tiki treasure page... it reads "Sign it to register for contest" instead of "Sign in...". Not half bad IMHO.
-
Once again it took a long time to load.... I would think that that has a lot to do with your html and css not validating as well as the image sizes. I agree that the top image should be one rather than two. I also think that you should get rid of the blue haze over the picture..... it's a beach restaurant and the blue haze makes it look like it is raining and miserable. I can see from the pictures below it that you have better pictures with more vibrant colours. Also noticed the glitches in your side menu. And for everybody else... It's not German! It's Dutch. Nice work dude. Not a lot to do to make it perfect.
-
I just fixed the problem on page 4 of the jobs page.... I remembered min-height. Would like some suggestions about what to do with the navigation. At present when you click on "Advice Centre" it opens up a new line of options. Same thing happens when you are viewing job details or in the application form. It's a bit messy but I'm not sure what to do to make it better. Somebody suggested using some java for a dropdown but I have gone out of my way to ensure that there is no java on the site..... still, if that's the best option that's the best option. Thanks.
-
Cheers Dare.... forgot a " in my href. If i'd stop messing about with it when half asleep these things wouldn't happen.
-
I don't know if this will help at all..... I'm a noobie, but try removing $_SESSION['nume'] = ''; $_SESSION['email'] = ''; $_SESSION['subiect'] = ''; $_SESSION['mesaj'] = ''; from the end of your case. I think it sets email, suiect, and mesaj to be blank. apologies if I have it all wrong.
-
I second what Peranha said. Apparantly it makes a difference when you get into thousands of rows. Always best to stick with best practice though just in case your db needs to get big all of a sudden.
-
Hi, just need help adding data to a linker table.
defeated replied to deansaddigh's topic in MySQL Help
If I understand correctly....... To make a link between student id and payment id you need something in common. You could make a new field in each table called student name and that would serve as a common denominator between the two tables. so.... student id student name 08934 John Smith 0796 Sue Meeh payment id student name Money05 Sue Meeh Money93 John Smith You can then get both the student id and the payment id for a named student. -
[SOLVED] turn '&' into '&' on inserting into db
defeated replied to defeated's topic in MySQL Help
To answer my own question...... Where I would have had $mystring = $_REQUEST['mystring'] ; I now have $newstring= $_REQUEST['mystring'] ; //Fetches mystring from post or get methods and calls it $newstring $mystring = str_replace("&","&","$newstring"); //replaces & with & in $newstring and renames it $mystring I can then use $mytring as before. -
Hi all. Firstly thank you for all your comments when I originally posted my site. It was based on a table template that I was given (I had never built a website before). There were many validation problems and a lot of fixing was needed. Now, after 3/4 of a year learning about the web from knowing nothing to html to php and a bit in between I got to the point where I have been able to turn the site into my first forray into CSS. Finally the site is all mine.... every bit of the programming is now done by me alone.... so all criticism lands purely on my shoulders :-\ The site is: http://www.jackiebrownmedical.ie There are still some problems. If anybody can tell me how to fix the problem with the main div and rightcol (which is on the left) on http://www.jackiebrownmedical.ie/jobs_ireland.php?url=jobs&page=4 I'd be delighted. Other than that comment away. BTW the background stays..... so says the boss. Any ideas would be appreciated. Ian.
-
Hi, My character encoding is UTF-8. I am having problems validating pages because when I insert text from a form into my mysql db my ampersands show up as & instead of &. my doctype is xhtml1.0 transitional. Any suggestions. I don't really understand the difference between the encoding systems but was lead to believe that UTF-8 was the way to go. Is there a simple way of fixing this or do I need to write some replace script? ???
-
[SOLVED] refresh information without changing page
defeated replied to defeated's topic in PHP Coding Help
hmm.... That smells like genius to me!!!! I now have <a href="?url=$gethead ; if($gethead=='jobdetails'|| $gethead=='apply'){echo "&jobref=$id2" ;} ?>">More....</a> Thanks a million. -
[SOLVED] refresh information without changing page
defeated replied to defeated's topic in PHP Coding Help
It's all gone horribly wrong. Using the method above nothing after .php is passed.. eg. ?url=jobs&jobref=jb-1987-03 etc are dropped. This will cause horrible problems since I rely heavily on passing like that. Is there a better way of doing this? -
[SOLVED] refresh information without changing page
defeated replied to defeated's topic in PHP Coding Help
Cheers -
[SOLVED] refresh information without changing page
defeated replied to defeated's topic in PHP Coding Help
yup, that works Anybody want to explain what the difference is? I had to write it like this by the way:- echo "<a href='$_SERVER[php_SELF]'>More....</a>"; no quotes around the php_self bit. Is that ok? It works.