-
Posts
23 -
Joined
-
Last visited
Content Type
Profiles
Forums
Events
Everything posted by LittleNicky
-
As far as I'm aware1. Yes2. It depends on the page. For example an index page will need it to appear somewhere if your output from the php is html.
-
I would read it! In fact I did!Check out TutorialI felt this was very basic. It requires you to work a few things out, which was very frustrating! But now I've worked thorugh it and I understand it all and have changed and expanded it.By the way is it worth using more random variable names like using colors etc just to prevent hackers?
-
Ok check out my page My Webpagein FF and IE. Any ideas?
-
Exactly what I wanted, cheers!
-
Ok so what I want to do is show 8 rows from a table, the 8 rows will be chosen by the most recent dates. How do I do this?
-
Mate. I doubt I could help. I just thought I'd say if you want people's help try making it easy to read!I hope it goes well anyway.
-
Ok this should be an easy one.How do I set a field in a form as required?
-
Mate, I get where you're coming from, but I tried that and phpBB is far to complicated to pick up and modify for a beginner. I'm a beginner, I tried it and it almost put me off php as I got too overwhelmed.Good to hear that people are willing to help! I'm currently in the process of building my first php site. I have a half decent blog page set up, with a login and admin section. The user profile is next, then the photo gallery, then I might consider the forum. I've got that addicted that I'm thinking about it all day at work. Wish I had more time to dedicate to it. :-(
-
OK cool, so would the code be header(Location: $_SERVER['HTTP_REFERER']); ?
-
So what would you put if you wanted to redirect to the page you were on before you logged in?
-
How do stop headers from having a line break after the txt? Also what's the best way to reduce the gap below them?
-
How do I set the date & time (in one field) automatically as the current date & time when I'm inserting into a field? Also what should I have the field set as in the mySQL database?
-
Ok so I've finally admitted divs seem to be the way forward where data is not stored.So whats the best way to create a menu using divs? A menu that has each link on top of each other but nicely spaced. Each menu item background must be the same length!
-
It does look like what I want. I'm having trouble implementing it tho.At what point might I use the function? I assume I have to apply it to the input of the textarea, but how?
-
Ok so would this work:SELECT * mytable WHERE firstname + " " + lastname= '{$fullname}'if $fullname equals 'firstname lastname'
-
Hi,Does anyone know how I concatenate 2 fields together?For example I want to say "SELECT * mytable WHERE a_php_variable='field1 concatentated with field2'"
-
Ok cool, so do i put all of these into a php file then include them the relevant pages?
-
So this sort of thing would be implemented by having a 'bold' button which inserts a "B" before and a "/B" after my text that I've selected. Is that correct? So what about inserting a <br>? Users would not want to click a button on the screen every time they want a new line.
-
It looks impressive, but any chance you can explain what's going on here?
-
That's what I needed! Now how do I implement that?
-
So lets say I want to create a blog. The user will have a text area to type their blog in, but when they press enter it appears to start a new line. But when they submit the blog and view it, it's all one block off text. This is what I'm trying to avoid. What would you suggest? Whats nl2br?
-
Yer as boen said it. Things like if I want to start a new line I press enter rather than typing <br>
-
I want to create a tool that when a user inputs normal text (into a text box), the text is automatically changed to html when it's displayed. Any ideas?