User Profile
Collapse
Profile Sidebar
Collapse
oriola1
Last Activity: Oct 14 '14, 04:22 AM
Joined: Mar 24 '14
Location:
-
Whtz inproper abt my english if u dnt understnd wht am saying then tell me. i appreciate all ur replies bt ur complains abt pointless tins irritates nd disgust me besides dis nt a english learning forum MR DORMILICH -
Thanks for ur reply.
U ar nt getin wht i wnt 2 do yet plz luk at d example of whts php i did in my last post i nid to insert d questn nd also d 3 options into d db so dat whn a user click on questn, about 10-20 questns wil b display with their option of answers as radio button and Am nt insertin d click option now its user who wil click which of d option dat is correct for d question attach to it.Leave a comment:
-
i tinks whtz RTFM says shud solve d problems frm ur code am seeing.Leave a comment:
-
It like u ar nt getin wht am trying to do. somtin like dis
1..Wht is meanin of PHP
(a)Php hyper preprocessor
(b)pocket personal home
(c)personal home page
u hv seen wht exactly am trying to do so how do i store dis quest with d clickable radio botton into d db. option a,b,c is goin to b radio button nt bracket u ar seeing o.
Vielen dankLeave a comment:
-
Thanks for ur reply
i dont nid to check d radio button bcos am to insert question alongside d answer as radio button into d db so whn user click on question it wil select all d questions alongside theirs answers as radio button.if u look at my html code u wil c dat d question is a textbox which mean i wil jst type in d question while d answers ar there already then i submit to insert into d db bt it only d question dat enter.
For d myqsl...Leave a comment:
-
inserting radio button into mysql database
hello everybody
Am trying to develop a simple online exam system but am having problem in inserting the radio option of the questoin alongside the question. its only the question dat is inserting the radio options is not inserting. plz help me if you have ideal how it can be done...
This is my code below
Html code
Code:<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
Last edited by Dormilich; Jun 8 '14, 10:32 AM. Reason: please use [CODE] [/CODE] tags when posting code -
Hi koharu
i hv check n checked bt am getin dis error
Parse error: syntax error, unexpected '3.' (T_DNUMBER) in C:\xampp\htdocs \nestle\update_ script.php on line 5
plz do u hv an idea of d meaning so i can even knw wht am doing wrong. i knw dat unexpected seem to b somtin is missing bt d '3' makes d error look difficult.
tanzLeave a comment:
-
-
I jst tried the code u ajusted for me infact i copy and paste not to make any silly error bt dis is wht i got..
Parse error: syntax error, unexpected '3.' (T_DNUMBER) in C:\xampp\htdocs \nestle\update_ script.php on line 5
ThanksLeave a comment:
-
Thanks so much i wil try dis now n get back to u.
Viel dank DormilichLeave a comment:
-
Thanks man
ok, At dis point jst help me go thruogh the code and tel me wht am doing wrong dat is making it not working..Leave a comment:
-
-
viel dank Domilich
ok i understand wht u saying if the update code doesnt have any output bt it nt updating the value in the database now.
i now even added some code to the updating code to give me message if it update the datebase and also give me anoda message if failed bt notin happen stil.
dis is code now,,
Code:<?php require_once("db_connect.php"); $db=mysqli_connect("$host","$user","$password","$db");
Last edited by Rabbit; Apr 27 '14, 05:43 PM. Reason: Please use [code] and [/code] tags when posting code or formatted data. Second warning.Leave a comment:
-
Thanks alot for ur replies. the query is to query the database and make the update change bt it not doing anytin at and all i get is jst a blank page no message of error or whtso ever..Leave a comment:
-
they are to check if there is error in the query then give the eror.. but it was to b $result the variable i use to query the database not result.thanks
plz any help or wht did u think is wrong with the codeLeave a comment:
-
Adding or subracting from quantity in a table
hello guys
Am trying to write a simple inventory system in php bt am having problem with adding or subracting from a particular product quantity in the databse,
The update code i wrote is not working infact when i submit from the add and subract form it wil not even give me any error to tackle and when i check my database it has not change..
plz any that know what am doing wrong shuld help me
Thanks
...Last edited by Rabbit; Apr 23 '14, 03:58 PM. Reason: Please use [code] and [/code] tags when posting code or formatted data. -
creating datetime in mysql table
hey guys
Am trying to store dateand time in mysql table that wil show date n time that a row was enter with this table code
product_date datetime NOT NULL default NOW(),
Bt it gives error of invalid default value so i remove the default NOW() then it create the table bt when i inserted into the table and view my database the colomn for datetime it was 000000000.
plz who understand the reason shud help me
Thank... -
Thanks for your reply
But the code u send didnt echo the imagge stil and again i dont understand src="image.php" is this where i stored the images bcos if u check frm my previous question i store the images inside image folder in my htdos and do my insertion through the form where i insert other datas belonging to the image
This is my insert form[/B]
Code:<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
Last edited by Rabbit; Apr 11 '14, 10:51 PM. Reason: Please use [code] and [/code] tags when posting code or formatted data. Second warning.Leave a comment:
-
Thanks Dormilich for ur rep[ly so i do i include <img> in the select. can u plz post it for me.
i wil b so much gratefulLeave a comment:
-
Image and others data insertion and retrive from mysql database
HEY guys
i can insert datas and image separately into mysql bt now i need to insert images and datas together like image of a laptop, maker. description, price bt it not working it only displaying other datas without the image..plz can someone help me..This is form code to insert and also my insert code.
Thanks in Anticipation
insert code...
Code:<?php require_once("db_connect.php");
Last edited by Rabbit; Mar 26 '14, 03:27 PM. Reason: Please use [code] and [/code] tags when posting code or formatted data.
No activity results to display
Show More
Leave a comment: