Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
Unknown Quality Score

No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.

0 Endorsements
~16.5K People Reached
Favorite Forums
Favorite Tags

35 Posted Topics

Member Avatar for servis

i want to get the alert on responce text, but getting nothing, my code is as follow, [ICODE] <?php session_start(); ?> <script type="text/javascript"> var xmlHttp function checkCAP(str) { if (str=="") { alert("plase enter the code"); return } xmlHttp=GetXmlHttpObject() if (xmlHttp==null) { alert ("Browser does not support HTTP Request") return } …

Member Avatar for karlosdpm
0
3K
Member Avatar for servis

hello, i want to arrange variables in array from foreach loop like this [ICODE] foreach($arr as $array){ $variable['first'] = $array['im']; //first record from im column in a table $variable['second']= $array['im']; //2nd record from im column in a table } echo $variable['first']; echo $variable['second']; [/ICODE] the purpose is to make the …

Member Avatar for servis
0
102
Member Avatar for servis

i have a simple form validation onsubmit event. The requirement is very simple, if validate.php brings any error it shows errors and it stops form for further processing else form submit and action runs process.php. But, unfortunately ajax function is not working onsubmit event.. any help please..... files are attached …

Member Avatar for Graphix
0
2K
Member Avatar for servis

i want to insert non empt values (as $im1, $im2.....) in mysql database, code is as follow, im_id is auto_increment key [CODE] $im1 =image1['image']; $im2 =image2['image']; $im3 =image3['image']; $im4 =image4['image']; $sql = "INSERT INTO `class-ads`.`images` (im_id, image) VALUES (NULL, '$im1'), (NULL, '$im2'), (NULL, '$im3'), (NULL, '$im4') mysql_query($sql) or die('Error, Posting …

Member Avatar for phpbeginners
0
136
Member Avatar for servis

hello friends, i am searching a ajax captcha from some time which have following properties, - intimate user for wrong verification code without refresing ... 2ndly - if the user enters the right code, it process the form normally. unfortunately i could not find reqired script. please help me any …

0
74
Member Avatar for servis

hi friends, my code is as follow, [ICODE] ------sql query here------------ $result = mysql_query($sql): while ($row = mysql_fetch_array($res)) { $row[tableLegends]; $link[]=$row; } [/ICODE] when i use foreach loop in template, it give the inavlid argument "Invalid argument supplied for foreach() error" [ICODE] foreach($link AS %links){ --------code here------- } [/ICODE] i …

Member Avatar for servis
0
164
Member Avatar for servis

In php file while loop is used to populate data in array in a following way, [ICODE] $result = mysql_query($sql ) or die ('Error, list failed. ' . mysql_error()); while($row = mysql_fetch_array($result)) { $row[tableLegends]; $link[]=$row; } [/ICODE] and for loop is used in printing data in theme file [ICODE] for …

Member Avatar for blocblue
0
89
Member Avatar for servis

hellow everybody, i have created a image gallery, i am displaying a button name "[B][COLOR="Red"]Collect[/COLOR][/B]" with every image, when ever a registered user clicks on this button, the image id will be stored in the database table, but it must be behind the scene, i mean without refreshing the whole …

Member Avatar for SimplePlan2k8
0
544
Member Avatar for servis

hi, i have passed following parameters in ajax function, [ICODE] onclick = "agU(<?php echo $u . ' , ' . $msg; ?>);" [/ICODE] its not working. when i test the same function in following way it runs fine. [ICODE] onclick = "agU(<?php echo $u; ?>);" [/ICODE] am i commiting any …

Member Avatar for Member #120589
0
124
Member Avatar for servis

i have displayed a button on a page, by which a user may report anything to admin about contents complaint. when user click on this button, it leads to a new page where in a form he fills data & send to admin. now i want when user click on …

0
64
Member Avatar for servis

i am getting the list of values from databas table, some values are null, i want to show the values, which are not null. example is as follow, [ICODE] //sql query while ($row =mysql_query($result)) { $carBrand =$row['brandName']; $carMod = $row['model']; $carModYear =$row['modYear']; $regCity =$row['regCity']; $demand =$row['demand']; //some of them are …

Member Avatar for djjjozsi
0
93
Member Avatar for servis

i have four checkboxes, user have option to select all or any of them as per the nature of complaint. the html code is as follow.... [ICODE] <input type="checkbox" name="comp1" value="Abusive words are used"> <input type="checkbox" name="comp2" value="Attachments are vulgar"> <input type="checkbox" name="comp3" value="Provided links are not valid or open …

Member Avatar for servis
0
2K
Member Avatar for servis

is it possible to use the xmlHTTP.responseText in any other java function, after execuation of stateChanged() function??? example in ajax... [ICODE] function stateChanged(){ if (xmlHttp.readyState==4 || xmlHttp.readyState=="complete") { var result = xmlHttp.responseText if (result.length=="0"){ var task = "do"; //i want to use "task" in other js function return task; } …

Member Avatar for essential
0
453
Member Avatar for servis

i want to display alert on the basis of responce text in AJAX, meaning to say i am getting responce text in id "responce " through php file by AJAX method, when responce is incorrect it shows alert before form submission the code is as follow, [ICODE] <?php session_start(); ?> …

Member Avatar for Airshow
0
128
Member Avatar for servis

i want to populate drop down box values on the basis of other drop down box value dynamically(without refreshing the page) using java script. i tried to search on google, but could not find anything. please can anybody help me in this regards. Thanks

Member Avatar for servis
0
204
Member Avatar for servis

i want to validate whether the checkbox is empty or not, if it is empty, the alert box show message, but the following code is not working... [ICODE] function validate(form) { with(form) { if(agreement.value.checked==false) { alert("Please commit the agreement to continue."); agreement.focus(); return false; } } [/ICODE] Secondly, i want …

Member Avatar for servis
0
299
Member Avatar for servis

i want to provide an option to user to preview the form input before form submission, it runs well, but it does the same action on pressing submission or preview button html [ICODE] <form> <tr> <td width="26%" height="30" align="right"><font face="Calibri">Category:</font></td> <input type="text" name="category" size="30"></td> <td width="26%" height="30" align="right"><font face="Calibri">City:</font></td> <input …

Member Avatar for nav33n
0
2K
Member Avatar for servis

Hellow evey body, I have to use same sql query frequently on diferenet php scripts pages in a appliction, i want to put this query in a funtion to use it where i want but this funtion is not working at all. i am unable to figure out the problem, …

Member Avatar for servis
0
143
Member Avatar for servis

Hellow, Can we prevent exposing java script and css in source code of web page on the user machine??? please if anybody know about it???? shuja

Member Avatar for jbennet
0
229
Member Avatar for servis

hello everybody, i want to pass directory name as a variable in include function like this, [ICODE] $page = 'test'; include('$page/test.php'); [/ICODE] i know this a wrong way, but i don't know how to do it. please anybody help in this regard. Thank in advance....

Member Avatar for servis
0
106
Member Avatar for servis

hello, i have following php-mysql image list script, which populate images in columns and rows of html tables, but i want to change the html columns and rows strctures into xhtml and css, i don't know how to do, [ICODE] <?php $albumId = $_GET['album']; $query = "SELECT im_id, im_title, im_thumbnail …

Member Avatar for MidiMagic
0
71
Member Avatar for servis

hello, I don't know whether should I post my problem in this forum or some else. However, is there any method to auto select css tab with corresponding link. I mean to say when ever you open any link from web site its corresponding css tab automatically shows selection(highlighted). I …

Member Avatar for Shanti C
0
318
Member Avatar for servis

Have a good day, i am new to ajax, i wana display image during page load time, just like happen in youtube videos at loading time before palying. Secondly when we update any page through ajax, how can we diplay message after updation, just like "You Successfull updated the Page", …

Member Avatar for nikesh.yadav
0
45
Member Avatar for servis

Have a nice Day, i tried to use vertical-align property of css in one of my project, but it did not work at all. can anybody tell me how can we use this property properly or any other alternative technique. thanks in advance

Member Avatar for MidiMagic
0
82
Member Avatar for servis

Have a nice day, i am working on image gallery, i want to create a php script that allow user to select multiple files from any folder of his computer and then upload it to server, just like flickr or orkut, but i have no idea how it can be …

Member Avatar for digital-ether
0
132
Member Avatar for servis

All Dears, I want to create images horizontal thumbnails view in 3 columns rather than vertical list view in 1 column. I have created vertical list view in 1 column, but now i am not understanding how to create thumbnails view in 3 columns php script. Please help in this …

Member Avatar for synking
0
117
Member Avatar for servis

can we connect from php to oracle 6. if it is possible then, how can we do it... regards shuja

Member Avatar for sDJh
0
54
Member Avatar for servis

how can we sent multiple values in xmlHTTP respnse, [ICODE] var xmlHttp function [B][COLOR="red"]callAjax(id)[/COLOR][/B] { if (id.length==0) { document.getElementById("txtHint").innerHTML="" return } xmlHttp=GetXmlHttpObject() if (xmlHttp==null) { & so on.................... ................................ [/ICODE] i want to add "id2" variable also like [B][COLOR="Red"]callAjax(id,id2)[/COLOR][/B] how can we do it?????? secondly, how can we intiame the …

Member Avatar for R0bb0b
0
117
Member Avatar for s_susanta
Member Avatar for kvdd
1
92
Member Avatar for sreein1986

[U][COLOR="Red"][B]Learning PHP[/B][/COLOR][/U] check this link [url]http://www.w3schools.com/php/default.asp[/url], there you can learn php in very much easy way. [U][COLOR="Red"][B]PHP Editor[/B][/COLOR][/U] you may use Dreanweaver, notepad or any other editor [U][COLOR="Red"][B]PHP Book[/B][/COLOR][/U] if you are comitted to learn php in depth, you have to spend just 30 or 35$ for book name [B]PHP …

Member Avatar for servis
0
110
Member Avatar for servis

hellow every body, script is giving error for the following code [ICODE] $link = "<a href="reset-password.php?ui=$row['user_id']&ak=$upassword">Reset the Password </a>"; [/ICODE] i have tried variables with quotes as well but result is sme. the error is following "Parse error: syntax error, unexpected T_STRING in C:\wamp\www\ProTest\password-forget.php on line 26" secondly update query …

Member Avatar for nav33n
0
82
Member Avatar for servis

The following login script is not working, i am unable to trace the problem, please anybody help me... [ICODE] <?php include ("template/login.tpl.htm"); session_start(); if (isset($_POST['userid']) && isset($_POST['userpassword'])) { include 'library/config.php'; include 'library/opendb.php'; $userId = $_POST['userid']; $password = $_POST['userpassword']; // check if the user id and password combination exist in database …

Member Avatar for nav33n
0
135
Member Avatar for servis

i am working on creating php templates for an application, but i am not understanding how to cover while loop in templates, my code is as follow, that is not right and of course not working at all, it is being posted just for example. Please any body give me …

Member Avatar for servis
0
111
Member Avatar for servis

i am extemly newbie and don’t know whether I should post my problem here or somewhere else, however… i have following problem in one of my php-mysql application header link through browser is, "http://localhost/test/reply.php?id=852" and query is as follow, [ICODE] $name=$_POST['name']; //from the name form $q_id=$_GET['id']; $sql="INSERT INTO `test`.`reply`(`rid`,`tid`,`name`)VALUES(NULL,'$q_id','$name')"; $result=mysql_query($sql);[/ICODE] …

Member Avatar for rgviza
0
4K
Member Avatar for ChristieLuv

if you are requiring a complete well documented and very much easy tutorial then follow the link [url]www.php-mysql-tutorial.com[/url]. where everything about image upload is discussed in image gallery link..and plz let us confirm....whether it is enough???

Member Avatar for servis
0
110

The End.