At 12:22 PM -0500 11/11/07, Hans Zaunere wrote:
Hello all,
I've been asked to host the MySQL Meetup on Tuesday (full details at
http://mysql.meetup.com/7/). It's actually a great group, with free beer
and food.
The only problem, however, is that we're looking for a speaker to present
something
HELP !! What is doing wrong?? I want to take the values entered into HTML
FORMS fields ("DATA" "RESULT" and "NOTE") and put them into $_SESSION
variables, which is not happening. Has anybody any ideas why not ?
ACTUAL OUTPUT:size="2" value="128">
onkeyup="calcCharLeft(this,128);">
$_SESSION['data'] = $t; $_SESSION['result'] = $u;
$_SESSION['note'] = $v;
echo(' data = ' .$t. ' result = ' .$u. ' note = ' .$v. ""); ?>
Did you anywhere start a session? You need a session_start() in order to work
with sessions. I recommend starting the session before y
PaulCheung wrote:
$t = $row['data']; $u = $row['result']; $v = $row['note'];
How are you populating the $row array? I would have expected this to be:
$t = $_POST['data'];
Doing it this way you should have no problem. And by the way, you don't
need the $t etc variables unless you ar
Brian D. wrote:
Programmers who write quality code do not write code slower than
programmers who don't. If anything they produce more lines of code per
day, and their code does more.
You can certainly write an application, placing your SQL calls, HTML
layout, and everything else all in the same
On Nov 17, 2007, at 12:42 AM, Daniel Convissor wrote:
On Mon, Nov 12, 2007 at 04:26:54PM -0500, Rob Marscher wrote:
But it's expensive to escape it every time someone views the page.
Therefore, it's recommended to filter it on input but store the
filtered version
This approach is flawed because
On Tue, Nov 13, 2007 at 12:53:59PM -0500, dann wrote:
>
> $page_index = ctype_digit($_GET['page']) ? $_GET['page'] : $default_page;
That produces a notice if the variable isn't set.
--Dan
--
T H E A N A L Y S I S A N D S O L U T I O N S C O M P A N Y
data intensive web and
Hola:
On Tue, Nov 13, 2007 at 12:23:46PM -0500, John Campbell wrote:
>
> What are other peoples' thoughts about 1-2 liners vs global functions?
If it's one or two lines, a function can be more distracting than it's
worth.
--Dan
--
T H E A N A L Y S I S A N D S O L U T I O N S C O M