Search found 9 matches

by nadi
Sun Nov 04, 2012 5:59 pm
Forum: PHP coding => Mail
Topic: smtp error : could not authenticate
Replies: 0
Views: 934

smtp error : could not authenticate

hai there.. I got this error using PHPMailer. currently if i put under my localhost it go smoothly never came out any error, but once i put under my hosting it show an error smtp error: could not authenticate, please advise me what should i do.. :( :( :( :( and Here is the code. $mail = new PHPMaile...
by nadi
Sun Oct 21, 2012 11:04 pm
Forum: PHP General
Topic: SMTP Error. Could not connect to SMTP host.
Replies: 0
Views: 535

SMTP Error. Could not connect to SMTP host.

hi, i hv SMTP error with my gmail acc and in localhost it work fine.but after i put under my hosting it not working. it show "SMTP Error. Could not connect to SMTP host.". Do i need to setup anything on my cpanel for make it working? here my setting i used $mail->IsSMTP(); $mail->Host = "mail.yourdo...
by nadi
Thu Oct 04, 2012 5:44 pm
Forum: PHP General
Topic: php current location ID
Replies: 3
Views: 1449

Re: php current location ID

ai thank...but i still blur and don't get it, i try using as below but it juz show id number...what i need give id become continues number. in my table u can see some id number got 14, 31,32.... and i want to display it will be exactly like 1,2,3,4......for 14 it will be no 6, 31 will be no 7... i t...
by nadi
Thu Oct 04, 2012 1:11 am
Forum: PHP coding => General
Topic: getcwd
Replies: 2
Views: 745

getcwd

hye wat actully getcwd function in php?..can i have example how to it.. :D :)
by nadi
Wed Oct 03, 2012 8:04 pm
Forum: PHP General
Topic: php current location ID
Replies: 3
Views: 1449

php current location ID

:help: :help: :help: :help: Picture1.png how to get the current location for student. base on id. as u can see from my table which is Arnold current location is no 3 and krish is no 4. let say i delete the Arnold then krish will replace the current location of Arnold is no 3. kindly please advise. :...
by nadi
Mon Oct 01, 2012 5:45 pm
Forum: PHP General
Topic: update table using array
Replies: 4
Views: 1153

Re: update table using array

sorry to make some confusing actually it's field not table. here some in my mind and please correct me if I make a mistake. $doc = array ("doc1", "doc2", "doc3","doc4","doc5"); UPDATE table SET $doc1[]=value WHERE condition=0001 I still wondering how to make it work! for make sure each field will no...
by nadi
Mon Oct 01, 2012 8:05 am
Forum: PHP General
Topic: update table using array
Replies: 4
Views: 1153

update table using array

haiii....can any body example to me how to update base on table. currently i have table doc1, doc2, doc3, doc4, doc5...i need to update by using array here example mysql UPDATE material set doc1 = $doc1 where id = $id $result = mysql_query("UPDATE material SET doc1='$doc1' WHERE mat_id='$mat_id'") o...
by nadi
Wed Apr 11, 2012 8:10 pm
Forum: mySQL & php coding
Topic: barcode random
Replies: 0
Views: 248

barcode random

hai there, i new in php and I really need some1 who can help me. I try to generate bar-code based on selected MySQL query example: $sql = "SELECT * FROM tbl where $RANDOM"; as you can see I need to find a few data as i want to select, example 10001, 10009,10020,1048 i just want it make bar-code base...
by nadi
Sun Mar 04, 2012 11:25 pm
Forum: PHP coding => General
Topic: php + report
Replies: 0
Views: 290

php + report

hai there,

as new beginner in php i need same example for making report by using php, can anyone help me with this..
i really3 need example for make this report.

php+mysql = report.