Neowelsh's Posts
Nairaland Forum › Neowelsh's Profile › Neowelsh's Posts
1 2 3 4 5 6 7 8 9 10 (of 34 pages)
this is creativity at its peak. |
i have the board, but i base in Bayelsa. sowi |
Brothers please i need information's for the aforementioned, any idea/research work will be highly welcome and appreciated. thanks in advance. |
are you sure you know what you posted? |
why did they withheld his name? animals |
wishing you a speedy recovery Miss Folakemi Akinbode. thank God they were caught. last December,i had similar experience, when i saw the machete they where holding, omo, i just gave them my phone and wallet. |
bin gbagbo: I badly need a photoshop software and guidelines to use for something very very very important.go to thepiratebay you get it there, i got my css 6 from there |
The first time i watched "A Walk to Remember" i literally cried ![]() |
of course. thanks |
please post the pictures, so i could use it as a code challenge for myself. here is my mail. abelconyoh@gmail.com |
sisqology: Warris diswhat does it look like? |
hello guru's in the house am a newbie in web development, have come across different CMS plat-form with beautiful templates to edit, which is a very tempting offer than killing yourself trying to code/beautifying/designing . am just wondering if these programs have any disadvantages. what is your take on this? should we continue learning the normal, HTML, PHP, JAVASCRIPT etc or we should just go with the technology on ground. Take us (newbies) as your brother's, what would your advice be? |
nollyj: I tested your form belowSorry guys for replying late, my account was ban for no reason. I want to say a big thank you to everyone that replied to my cry for help, i really appreciate it.<form name="Form1" method="post" action="reg.php" enctype="text/plain" id="Form1" onsubmit="return ValidateForm1(this)"> a special thanks to Dual Core and also to nollyj [/b]for pointing out [b]enctype="text/plain", everything started working immediately i remove enctype="text/plain". may God Bless you guys. happy new month. |
mubybaba: ..eerr hello everyone does anyone know anything about transformerswhat do you want to know, about transformer? |
Dual Core: It means the html form is not communicating and passing post values to the php processor.here is the form <form name="Form1" method="post" action="reg.php" enctype="text/plain" id="Form1" onsubmit="return ValidateForm1(this)"> <div id="wb_Text1" style="position:absolute;left:41px;top:62px;width:68px;height:16px;z-index:0;text-align:left;"> <span style="color:#000000;font-family:arial;font-size:13px;">username:</span></div> <div id="wb_Text2" style="position:absolute;left:47px;top:115px;width:68px;height:16px;z-index:1;text-align:left;"> <span style="color:#000000;font-family:arial;font-size:13px;">password:</span></div> <div id="wb_Text3" style="position:absolute;left:50px;top:174px;width:68px;height:16px;z-index:2;text-align:left;"> <span style="color:#000000;font-family:arial;font-size:13px;">email:</span></div> <input type="text" id="Editbox1" style="position:absolute;left:160px;top:58px;width:169px;height:18px;line-height:18px;z-index:3;" name="un" value="" placeholder="please enter a username"> <input type="password" id="Editbox2" style="position:absolute;left:163px;top:119px;width:169px;height:18px;line-height:18px;z-index:4;" name="pd" value="" placeholder="please enter a pasword"> <input type="text" id="Editbox3" style="position:absolute;left:168px;top:175px;width:169px;height:18px;line-height:18px;z-index:5;" name="em" value="" placeholder="please enter an email"> <input type="submit" id="Button1" name="login" value="login" style="position:absolute;left:195px;top:266px;width:96px;height:25px;z-index:6;"> </form> and this is the script <?php $con = mysql_connect("localhost", "root", "" ![]() or die("can't connect to mysql database".mysql_error()); $selectdb = mysql_select_db('wysiwyg', $con) or die("could not select database".mysql_error()); ?> <?php if(isset($_POST['un'])){$name = $_POST['un'];} else{die("Name field not being captured" ;}$pass = $_POST['pd']; $email = $_POST['em']; $sql = "INSERT INTO reg(username, password, email) VALUES('$name', '$pass', '$email')"; if(mysql_query($sql, $con)) { echo "Congratulations, you are now a member <br/> click<a href = 'index.html'>here</a> to login "; } else echo "Registration failed"; mysql_close($con); ?> |
observation: before i added the isset, when i tried submitting the form, the entry is record/stored in my database with just the id, while the username, password and email remains blank |
Dual Core: When you have "undefined index" notices cover the declaration in isset();thanks once again, i tried it and got the error report, ie Name field not being captured. could it be that i the form is not functioning? what is the possible cause? |
Dual Core: $sql = "INSERT INTO reg(username, password, email) VALUES('$name', '$pass', $email')";thank you so much, i cant believe i missed that... here is the new error am getting Notice: Undefined index: un in C:\xampp\htdocs\signuptest\reg.php on line 11 Notice: Undefined index: pd in C:\xampp\htdocs\signuptest\reg.php on line 12 Notice: Undefined index: em in C:\xampp\htdocs\signuptest\reg.php on line 13 Congratulations, you are now a member clickhere to login |
CODE-EATER:thanks for replying. yes they were define in the registration form with a name attribute here is how it looks <input type="text" id="Editbox1" style="position:absolute;left:160px;top:58px;width:169px;height:18px;line-height:18px;z-index:3;" name="un" value="" placeholder="please enter a username"> |
please someone should help me solve this little problem, am trying to create a simple connection to mysql database, here is the code <?php $con = mysql_connect("localhost", "root", "" ![]() or die("can't connect to mysql database".mysql_error()); $selectdb = mysql_select_db('nameofdb', $con) or die("could not select database".mysql_error()); ?> <?php $name = $_POST['un']; $pass = $_POST['pd']; $email = $_POST['em']; $sql = "INSERT INTO reg(username, password, email) VALUES('$name', '$pass', $email')"; if(mysql_query($sql, $con)) { echo "Congratulations, you are now a member <br/> click<a href = 'index.html'>here</a> to login "; } else echo "Registration failed"; mysql_close($con); ?> i kept getting this error Notice: Undefined index: un in C:\xampp\htdocs\signuptest\reg.php on line 11 Notice: Undefined index: pd in C:\xampp\htdocs\signuptest\reg.php on line 12 Notice: Undefined index: em in C:\xampp\htdocs\signuptest\reg.php on line 13 Registration failed any suggestion will be greatly appreciated |
this is stunning, you guys should teach us na |
tsidra: I'm finding it very hard to pick which is uglier. Both are HIDEOUS!!!why can't you guys let her b? Stop the hatred, i wonder how you look right now, not to talk of when you get to her age |
Youngzedd: Don't mind that Johnbull that doesn't know his left and right]a reminder: all politicians in this country are above the law |
Is always like that, when illiterate's lay their hands on money and bribe those miserable black baboons called Nigeria Police. |
Am just curious, how did she get down so fast? Imagine the distance between them. Abi she run? |
If i may ask, when Yara'dua was our president(may his gentle soul rest in peace), did we hear any of these from his wife? Honestly Mr. president need to caution his wife. |
peckhamboi: If you believe this nonsense, you should be given a very hard and dirty slap.oooo, i feel sorry for you. Try and study magnetic levitation. Thats the principle behind all these fast moving trains, they levitates. Its just simple physics |
That man must be hulk to have such weight |
