Jump to content

zaniac

Members
  • Content Count

    75
  • Joined

  • Last visited

Community Reputation

0 Neutral

About zaniac

  • Rank
    Newbie
  1. A big thank you amigo I cannot understand why I cannot do the small things in PHP. The other day I wasted half a day trying to figue out why the page would not display after hitting the submit button. I eventually realised my Apache server was offline
  2. Hi,Have been trying to send a variable using a form, through the $_GET method. The variable is passed through, but does not display. Below is a copy of the code... Am I missing a function here? Any help, is very much appreciated
  3. In fact I think I have got both to display inline now. However, their positions within the containing <div> differ in IE6 and Firefox. Firefox seems to display both #pp & #pd inline, but at a lower level within the <div>.Basically I used.... #box{ height: 350px; width: 924px; background-image:url(pppd.gif); clear: both; margin-top: 9px; float: right; }#pp{ height: 250px; width: 375px; margin: 20px 0px 0px 30px; float: right; }#pd{ height: 250px; width: 300px; margin: 20px 30px 0px 0px; float: right; } From the above, you can see that I have floated both divs #pp &a
  4. Ingolme - Thanks for your suggestion. I tried the display:inline and it worked fine. However I plan to remove the border property and when I do so, it displays out of balance again. Thanks for the suggestion though
  5. Hi all!I'm trying to float 2 divs(#pp & #pd) beside each other in alignment. Both of which contain a <h3>, <p> and a <table>. I can get #pd move to the right using 'float: right'. However, in doing this #pp remains slightly higher up on the page than #pd.Below is the coding:(css) #pp{ height: 250px; width: 375px; margin-left: 30px; padding-top: 20px; border: 1px black solid; } #pp table{ width: 350px; cellpadding: 5px; cellspacing: 10px; text-align: center; } #pp td{ border: 1px solid #000000; background-color: #FFFFCC; }#pd{ height: 25
  6. My website only consists of one page and that is a 'under construction' page. I have not modified it for a few months in any way. There are no forms either for my site, so I cannot understand how such a thing has happened.I have firefox as a web browser, but no add-ons installed.
  7. Hi,I thought I'd post this here, but was not 100% sure if this thread is really allowed.Basically I found an email from some security firm bdbrandprotect.com, in Canada telling me to remove a phishing site from my web directory. I use a host who has since removed the phishing scam from my directory. I'm no expert at security, but thought my host would be able to stop things like this, before it happens. Does anyone have any advice on how to prevent such rogues from uploading onto my web directories?Any help, is greatly appreciated.
  8. I have a very primitive version of a database set up using PHP/MySQL. I have a made a simple table with the columns 'name', 'age', 'address' & 'email'. The 'address' column has more tha one variable which is posted to it via a form (for example $_POST['street'] and $_POST['country']). When displaying the table on screen the field in the 'address' column has all the variables inline and all joined up. I was hoping to have the column display each $_POST variable on a new line, so it could appear like below......Example 135 Halgar Field CourtDunstableEnglandand not like what it currently disp
  9. Hi Synook, thanks very much for the PHP tip, I'll give it a try. Many thanks
  10. Basically, I am playing with the idea of making a page which both displays the form and validates it (using PHP). When there is a validation error I want the page to re-display the form and retain the results(i.e 'Sticky Form'). I am able to retain the inputs entered into the text boxes from the users original submit, but I cannot get the <select> tag to retain the option value which the user has made on the orginal submit. Lol, I hope that I'm not confusing you. Below is an example of the XHTML I currently have on my form:----------------------------------------------------------------
  11. I'm trying to create a sticky form, but am having problems with the <select> tags. When the user makes an error, the form is displayed again. When this occurs, I am able to retain the strings in the various text areas, but am unable to get the <select> option chosen by the user to be re-selected automatically (enabling the user not requiring to choose the same option again.I am aware of the <selected="selected">, but this only works for one single option value within the whole <select> tag.Any help on this is greatly appreciated. TY;)
  12. Hi guys, thanks once again for your help I took on board and tried on an akternative page your example and it now works fine. Gold stars for you guys
  13. I'm an idiot haha. Thanks for your help mma_fighter123 on this one, I have resolved the issue now. You were right, but I also made another error in a section I didn't think was relevent. Sorry for the time, but thanks again mate
  14. Hmmm, I've given it a try, but no joy.I made a slight adjustment to the calendar in the $month array and added ....(' '=>'Month', 'January' => 'January'.....).. and then added the following if statement into my resultsform.php page... if ($month == ' '){ $problem = TRUE; echo'<p>No Month has been entered.</p>'; }Having done this, I've found through testing, the $month result is not being sent.
×
×
  • Create New...