|
I'm taking a class in PHP and I'm a real newbie when it comes to best practices and whatnot.
I have a little homework that the teachers wants me to hand in.
Create a form that asks a user for his name, last name, age and birthday.
When the users clicks...
Started by Sergio Tapia on
, 4 posts
by 4 people.
Answer Snippets (Read the full thread at stackoverflow):
Page 1
session_start(); // start session $_SESSION['name.
That data on another page whenever you want.
|
|
How can I refer to a nested div by id when it has the same id as a div nested in a similarly named div
eg
<div id="obj1"> <div id="Meta"> <meta></meta> </div> </div> <div id="obj2"> <div id="Meta"> <meta...
Started by Supernovah on
, 8 posts
by 8 people.
Answer Snippets (Read the full thread at stackoverflow):
Code there doesn't work because you're referring to....
CLASS is what you should use for when you may have a repeating element .
IDs should only be used when there is one of that item on the page, be it a SPAN, DIV or whatever .
Id is supposed to be unique.
|
|
Ok, If you can answer this question, you deserve the nobel peace prize. Anyways, here's the situation.
I'm using Slicehost dot net, and I have 2 slices (two different IPs). One slice is my mail server and the other is my normal website. I'm running Ubuntu...
Started by lucha libre on
, 4 posts
by 4 people.
Answer Snippets (Read the full thread at stackoverflow):
"hostname:port" or a path to a local....
It can also include a port number.
Server Param
The MySQL server.
Mysql_connect()
$resource = mysql_connect('other-server-address.com', 'username', 'password');
The first parameter is the mysql server address .
|
Ask your Facebook Friends
|
Hi,
If have a style like this
.Style1 { background-color:white; }
And style 2 like this.
.Style2 { border: black solid 1px; }
How do I get Style2 to have Style1 as a base style???
Malcolm
Started by Malcolm on
, 9 posts
by 9 people.
Answer Snippets (Read the full thread at stackoverflow):
If....
Class="style2 style1" ..>
the thing here is to simply use it as (example)
class="style1 style2"
this means the element will use the style1 then style2 (overriding style1 with style2 if any overlapping occurs e.g .
}
<...
Style2 .style1 { ...
|
|
I was thinking about using bcp command to solve the user authentication, but does a bcp command capable to import to a table in my database? By the way, I am using SQL Server 2000 environment.
Here's the code I have got so far:
SET @Command = 'bcp "SELECT...
Started by 5tarzi3 on
, 3 posts
by 3 people.
Answer Snippets (Read the full thread at stackoverflow):
SURE !!
Use this command (adopt it for your needs) on your source machine:
bcp database.dbo.viewname out c:\temp\viewname.bcp
and then import the data back into your destination system using:
bcp newdatabase.dbo.importtable in c:\temp\viewname.bcp -c ... .
|
|
Ho-hum. Just another 1.2 Trillion Dollar debt ceiling increase...
Started by Restless28 on
, 25 posts
by 19 people.
Answer Snippets (Read the full thread at glocktalk):
Our #1 enemy holds the bulk of the debt and is inundating our... .
Think of it as Monopoly money.
He does , bacause he can.
Some of them might have been 'impeachment'
/ Blame doesn't rest with 1 person .
I had a few choice words for Obamao with my reps .. .
|
|
Another day, another fat pine tree.. Some pics from today;
My man Dennis and the view from my office.
The tall pine in the middle of the picture..
Timbe !
The aftermath..
Glamour shot!
Metals406 , mdavlee and ShaneLogs like this. DO YOU KNOW WHO I AM...
Started by Oldtimer on
, 15 posts
by 9 people.
Answer Snippets (Read the full thread at arboristsite):
RandyMac
The MountainGal rep thread, get your REP onboard!
http://www.arboristsite.com/off-topic-forum/188558.htm Originally Posted by RandyMac Did I miss it? Well, it wasn't a west ... .
Did I miss it? 056 kid , Gologit , Metals406 and 1 others like this .
|
|
DB has got to be outraged by now
Another Intel advertisement on the front page of CPU mag
http://www.computerpoweruser.c ___1203__/
OH and congrats to nVIDIASLiRig for getting in the mag
Answer Snippets (Read the full thread at pdxlan):
If the modder's payed to have their rigs on the cover then I could totally see the... .
CPU mag has bills to pay - not to mention the $1500.00 in prize money they give to each modder .
Perhaps they like getting paid to put Intel on the cover? Just guessing.. .
|
|
I got the lyrics as:
Cmon 2x
You’re digging out your car again
The shit left in the arm?
Has another life again
Another February comes
And goes
Another February
Snows
And snows
Go on. 2x.
Your February comes again
The bartenders are down
The circle comes...
Started by Whipstick on
, 13 posts
by 7 people.
Answer Snippets (Read the full thread at localh):
Left in the yard
has another life again.
At the beginning, I think it's:
The ....
|
|
Another night another set of night shots I went to London this evening took a few shots, forgot to charge battery so had to keep putting it down me trousers to warm up
anyway some pics
do the ol' clicky image for high res thing
St Pauls
Lloyds
30 St Mary...
Started by lostprophet on
, 15 posts
by 12 people.
Answer Snippets (Read the full thread at thephotoforum):
Great photos, especially that of St Pauls, ....
#1 & #2 for me, and Lloyds fisheye is very groovy .
First two shots do it for me, St Pauls and the first of Lloyds are great .
Yaay lovely architecture shots, make me want to hurry up and get back to London .
|