Search found 13 matches

by bluestar
Sat Jun 04, 2011 7:45 am
Forum: Javascript
Topic: passing 2 variables from jquery to php file
Replies: 2
Views: 1223

Re: passing 2 variables from jquery to php file

dint worked....i also tried
1)var datasent = 'contet='+ test+'&txt1='+test2;
data : datasent,
2)var datasent = 'contet:'+ test+'&txt1:'+test2;
data : datasent,
3)data:{ contet : $("#textbox1").val() , txt1=$("#textbox1").val()}, /
by bluestar
Fri Jun 03, 2011 9:16 am
Forum: Javascript
Topic: passing 2 variables from jquery to php file
Replies: 2
Views: 1223

passing 2 variables from jquery to php file

i have syntax problem while transferring more than 2 values from jquery to php file ..but code dint work...when i try to transfer only 1 variable it works but not with more than 1 variable....here is the codes that im using.. var data1=$("#textbox1").val(); //textbox with name textbox1 in ...
by bluestar
Wed May 25, 2011 10:13 am
Forum: PHP - Code
Topic: pass an html array to another file through url
Replies: 1
Views: 282

pass an html array to another file through url

i want to pass an array in html anchor tag to php file ...and then shows it to the iframe something like facebook....but it dint work code are something like that...... in html file: <select name="value[]"multiple="multiple"> <option value="val1">val1</option> <option v...
by bluestar
Tue May 24, 2011 2:54 pm
Forum: PHP - Security
Topic: stop accessing folder through url
Replies: 6
Views: 3507

stop accessing folder through url

hii all....im making awebsite in php-mysql....my root folder name is newproject1 and it is in htdoc folder, folder newproject1 contains files and folder one of the folder is style and another is image.....the url when i run a website is http://localhost/newproject1/filename.php ...but if i chage it ...
by bluestar
Thu May 19, 2011 1:57 pm
Forum: Databases
Topic: Syntax Error
Replies: 1
Views: 968

Syntax Error

i have a little syntax problem in php mysql, and i cant figure it out, hoping that u guys can help me out....mysql error and code are below Error: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '='4', Room='3', ab...
by bluestar
Sat May 14, 2011 1:08 am
Forum: Databases
Topic: problem with fetching data from mysql using two file
Replies: 1
Views: 926

problem with fetching data from mysql using two file

i am trying to fetch some information from database and show it in some other page , i know scope of a variable limited within function if its not global and superglobal....but how to pass the info outside .... here is my code..the function showingdata is in xyz class...similarly dblink(database con...
by bluestar
Thu May 05, 2011 7:56 am
Forum: Databases
Topic: hide errors, warning and notification from php page
Replies: 1
Views: 1130

hide errors, warning and notification from php page

how to hide error, warning and notice in php page....
i tried "error_reporting(E_ALL ^ E_NOTICE);" and "error_reporting(0);" putting them on the 1st line after php opening ie(<?php) but they wont work
any suggestion....:)
by bluestar
Wed May 04, 2011 6:51 am
Forum: Databases
Topic: can any one solve this sql query problem...
Replies: 5
Views: 2125

Re: can any one solve this sql query problem...

yes it is....
i solve this problem after readin ur post....actually mysql wont allow you to use space for column name....dats why i stuck here
i used "LAST_NAME" instead of "LAST NAME" and it worked....btw thx for ur reply... :)
by bluestar
Wed May 04, 2011 4:55 am
Forum: Databases
Topic: can any one solve this sql query problem...
Replies: 5
Views: 2125

can any one solve this sql query problem...

i keep on getting error message: "Database ERROR: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'NAME, LAST NAME, SEX, DOB, COLLEGE, BRANCH, ADMISSION, PASSOUT) VALUES at line 1" $this->dblink holds the...
by bluestar
Tue May 03, 2011 9:46 am
Forum: Databases
Topic: sql query isnt working
Replies: 1
Views: 960

sql query isnt working

i got error msg :"Database ERROR: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')' at line 9" im trying to insert data in mysql...the code is below.... $this->dblink() :i used to set my connection with...
by bluestar
Tue Apr 05, 2011 4:36 am
Forum: PHP - Code
Topic: code is not working
Replies: 3
Views: 578

code is not working

i want to make a program to retrieve the password for a given email.... i had made a table named 'table1'with column name userid, EMAIL and password but the code is not working can anybody tell me what am i doing wrong?? <?php $localhost="host"; $username="admin"; $password="...
by bluestar
Thu Mar 17, 2011 7:30 am
Forum: PHP - Security
Topic: security issues related to website built in php-mysql
Replies: 3
Views: 2504

security issues related to website built in php-mysql

hiii all.....i am making a dynamic website in php-mysql....so is there anyway to protect my website from 'sql-injection' and other hacking stuff(i dont have any idea about them)???
by bluestar
Thu Mar 17, 2011 7:27 am
Forum: PHP - Code
Topic: php error resolve
Replies: 1
Views: 148

php error resolve

hiii all....i am building a website(of course its in php)..i had created a login page and a home page...the problem is many time login is successful and many time a error occur "UNDEFINED INDEX on $_post[] line " on the same page with the same coding...so is there anyway to overcome this p...