After a WEEK I can't make a simple/single record write/read,
I place example and code at: http://www.usa21.net/lisawebs_demo.php
there's also a link for the whole PHP code.
Please "for mercy!!!" someone take a look!
no way out with this
Moderator: General Moderators
-
microthick
- Forum Regular
- Posts: 543
- Joined: Wed Sep 24, 2003 2:15 pm
- Location: Vancouver, BC
- Pyrite
- Forum Regular
- Posts: 769
- Joined: Tue Sep 23, 2003 11:07 pm
- Location: The Republic of Texas
- Contact:
Holy Shananagins!
Where did you learn to code?
I've never seen anyone write php like this ...
Like using trinary operators in QBasic ..
I think I'm going to adapt your style, I like it. My foo is weak ..
Don't suppose your message popup javascript could be wrong, I mean you did check it in the database right? I assume you would, just making sure.
other than that, i gotta study this a bit more, lol
Where did you learn to code?
I've never seen anyone write php like this ...
Like using trinary operators in QBasic ..
I think I'm going to adapt your style, I like it. My foo is weak ..
Don't suppose your message popup javascript could be wrong, I mean you did check it in the database right? I assume you would, just making sure.
other than that, i gotta study this a bit more, lol
- Pyrite
- Forum Regular
- Posts: 769
- Joined: Tue Sep 23, 2003 11:07 pm
- Location: The Republic of Texas
- Contact:
Ok, just checking here.. but..
May be try taking that $opcode = $_POST thing out of the if. for some reason, php never lets me at least access the $_POST and $_GET vars in functions, I always have to assign them to variables first and then test those.
Also: do you realize you are passing a php variable (opcode) to the script with a hidden value of 0 ? Is that supposed to be right?
Still trying to figure this out. Your code is easy to read but hard to understand, lol.
Code: Select all
if (isset($_POSTї'opcode'])) {
$opcode = $_POSTї'opcode'];
if ($opcode > 6){
$flag = 1;
} }Also: do you realize you are passing a php variable (opcode) to the script with a hidden value of 0 ? Is that supposed to be right?
Still trying to figure this out. Your code is easy to read but hard to understand, lol.
-
microthick
- Forum Regular
- Posts: 543
- Joined: Wed Sep 24, 2003 2:15 pm
- Location: Vancouver, BC