Click here to Skip to main content
15,921,840 members
Home / Discussions / Linux, Apache, MySQL, PHP
   

Linux, Apache, MySQL, PHP

 
AnswerRe: php website setup Pin
DaveX866-Mar-09 6:25
DaveX866-Mar-09 6:25 
AnswerRe: php website setup Pin
omlac16-Mar-09 20:48
omlac16-Mar-09 20:48 
GeneralRe: php website setup Pin
tech60321-Mar-09 6:43
tech60321-Mar-09 6:43 
QuestionGlobal variable across multiple files and multiple code snippets Pin
Joan M2-Mar-09 9:51
professionalJoan M2-Mar-09 9:51 
AnswerRe: Global variable across multiple files and multiple code snippets Pin
Mohammad Dayyan2-Mar-09 20:32
Mohammad Dayyan2-Mar-09 20:32 
AnswerRe: Global variable across multiple files and multiple code snippets Pin
jceresini6-Mar-09 12:27
jceresini6-Mar-09 12:27 
Questionhowto insert ip address into mysql database Pin
Parinay Bansal1-Mar-09 18:47
Parinay Bansal1-Mar-09 18:47 
AnswerRe: howto insert ip address into mysql database Pin
jceresini6-Mar-09 13:02
jceresini6-Mar-09 13:02 
You may want to try printing out the value of

"insert into loginout values ($ref->{'CARD_ID'}, '$name' , now(), NULL"

to see make sure the variables are set properly and that $ref->{'CARD_ID'} is not null, and not a string. Also check that $name does not contain any single quotes in it as that will screw up the query, unless you escaped the variable first. Finally the end of the values does not have a ending parenthesis. It should be:

"insert into loginout values ($ref->{'CARD_ID'}, '$name' , now(), NULL)"

Joe Ceresini
Network Engineer
jceresini@hostmysite.com
Hostmysite.com
AnswerRe: howto insert ip address into mysql database Pin
jschell22-Mar-09 9:23
jschell22-Mar-09 9:23 
Questiongetting error "Use of uninitialized value in concatenation (.) or string" what this? Pin
Parinay Bansal1-Mar-09 3:35
Parinay Bansal1-Mar-09 3:35 
AnswerRe: getting error "Use of uninitialized value in concatenation (.) or string" what this? Pin
jschell22-Mar-09 9:28
jschell22-Mar-09 9:28 
AnswerRe: getting error "Use of uninitialized value in concatenation (.) or string" what this? Pin
dpminusa15-May-09 22:46
dpminusa15-May-09 22:46 
QuestionShrishti Informatics Pin
petermechele27-Feb-09 6:21
petermechele27-Feb-09 6:21 
AnswerGo away advertiser! Pin
EliottA27-Feb-09 7:56
EliottA27-Feb-09 7:56 
AnswerRe: This sh*tty company Pin
Pete O'Hanlon27-Feb-09 8:45
mvePete O'Hanlon27-Feb-09 8:45 
QuestionI need code apriori algorithm in PHP Pin
chin418626-Feb-09 2:16
chin418626-Feb-09 2:16 
AnswerRe: I need code apriori algorithm in PHP Pin
EliottA26-Feb-09 2:24
EliottA26-Feb-09 2:24 
AnswerRe: I need code apriori algorithm in PHP PinPopular
Luc Pattyn26-Feb-09 3:04
sitebuilderLuc Pattyn26-Feb-09 3:04 
AnswerRe: I need code apriori algorithm in PHP Pin
jceresini6-Mar-09 12:34
jceresini6-Mar-09 12:34 
AnswerRe: I need code apriori algorithm in PHP Pin
bulg17-Mar-09 12:45
bulg17-Mar-09 12:45 
QuestionCall by Reference Pin
MorrisLin24-Feb-09 23:24
MorrisLin24-Feb-09 23:24 
AnswerRe: Call by Reference Pin
Curtis Schlak.27-Feb-09 11:51
Curtis Schlak.27-Feb-09 11:51 
GeneralRe: Call by Reference Pin
MorrisLin9-Mar-09 23:24
MorrisLin9-Mar-09 23:24 
Questionwebsite page shown broken however it is not actually Pin
random423-Feb-09 22:35
random423-Feb-09 22:35 
AnswerRe: website page shown broken however it is not actually Pin
EliottA24-Feb-09 2:11
EliottA24-Feb-09 2:11 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.