39,316 Topics

Member Avatar for
Member Avatar for romanromeo89

Hello, I'm trying to send a new user info (username & password) to a php file (register_check_0.php) using ajax with jquery so i can check if user already exists. I use the post request below: $.post("register_check_0.php", { username: $("#username").val(), password: $("#password").val() }, function(data,status){ var result=data; if(result=="success"){ counter+=1; $("#registration").load("register_1.php"); } } …

Member Avatar for romanromeo89
0
1K
Member Avatar for bettybarnes

I have a textbox which pulls the maximum value from DB. But it gives wrong value. Can you help figure out what went wrong here? **basicfunction:** private function basicInformation() { // initialize variables $host = "localhost"; $db_name = "test"; $tbl_name = "ballpark_details"; $username = "root"; $password = ""; // connect …

Member Avatar for adam.adamski.96155
0
162
Member Avatar for moadah

i going to do college website which is best Zend or Cakephp framework to do it if there is another framework best tell me

Member Avatar for kevinp2012
0
124
Member Avatar for dancks

I'm on the school server. So before I start I need to say I don't have a choice. I'm tired of reading post with nothing more than "Tell your administator to upgrade". I know. Stop. If I see it its getting flagged as spam. I don't really understand what about …

Member Avatar for diafol
0
154
Member Avatar for Arskap

Hi everybody, i want know how make admin panel and to it news system via [b]PHP[/b] and [b]Mysql[/b]! Is here anybody who knows how make it, and if here is somebody who knows, then can you help me? I'll try make a website where is news about sport things what …

Member Avatar for arun781
0
778
Member Avatar for amith_ami

hi all... pls help me... i have a problem with editing the record... my adding and editing page are same.... adding works properly but while editing a record for ex : if i change the emailid of a record and if the newly given emailid is already exists in the …

Member Avatar for amith_ami
0
96
Member Avatar for hwoarang69

my cookies not seem to be working. the seesion works fine tho. am i missing some thing? o and i doesnt print echo"on"; if($remember_p == "on") { //remember username for 42 hrs setcookie("id", $id, time()+20); setcookie("username", $username_p, time()+20); //seconds //header("location: index.php"); if(isset($_COOKIE['username'])) { echo"on"; } } else if($remember_p == "") …

Member Avatar for LastMitch
0
78
Member Avatar for hwoarang69

Notice: Undefined index: remember in C:\xampp\htdocs\E_COMMERCE\login.php on line 15 line15: $remember_p = $_POST['remember']; it looks right to me. any ideas? <?php if($_SERVER['REQUEST_METHOD'] == 'POST') { $username_p = $_POST['username']; $password_p = $_POST['password']; $remember_p = $_POST['remember']; ..... } ?> <div id = "right_login"> <form id='login' action='login.php' method='POST'> <h1>Log in to your account!</h1> …

Member Avatar for hwoarang69
0
117
Member Avatar for cussel

> hey guys, how to make bold values array building key array below to data1 and data2? if each index [0] => Array ( [0] => 0 [1] => 2 ) bold array data1 if each index [1] => Array ( [0] => 1 [1] => 4 ) bold array …

Member Avatar for LastMitch
0
351
Member Avatar for hwoarang69

alot of people told me iam using this the old way and i dont understant the newer way. can some one help me out.. iam trying to build form that will run same file. so i have only one file called login.php my form should run php script inside itself, …

Member Avatar for hwoarang69
0
132
Member Avatar for dinhunzvi

i have a form with a text box and a drop-down list. the form submits to itself. when the user submits the form for processing the form must be able to retain the selected value from the drop list if there is an error. here is the code for the …

Member Avatar for adam.adamski.96155
0
339
Member Avatar for masocha

stdClass Object ( [0] => Array ( [0] => stdClass Object ( [id] => 123445566 [name] => Sharer Name [offset] => 0 [length] => 14 [type] => user ) ) [23] => Array ( [0] => stdClass Object ( [id] => 123456778_page_id_i_want [name] => Page Name [offset] => 23 [length] …

Member Avatar for blocblue
0
305
Member Avatar for subrata_ushasi

Hi all , I have a wevservice link say http://abc.com/wscom/MKWebService.rem from where I am trying to return value giving some parameters . The method and parameters are given below. method : GetInfo Parameters: string LicenseID string password Return Value: struct AnswerInt Now I have two xml files request.xml and response.xml …

Member Avatar for pritaeas
0
334
Member Avatar for fattpacman

Hi, I've just switched web hosts, and I have this script that ultimately connects to a database and displays it on a webpage. It used to work fine, however now I can get it to display the database info in the webpage, however I can't update the fields. I can …

Member Avatar for diafol
0
290
Member Avatar for GlenRogers

Hi. I need a way of deleting images from a gallery. The images are in 2 folders: thumbs and full size. The pathnames are in 2 tables: image_thumbs and images. The gallery displays clickable thumbs. Should I delete the images from both folders and the entries from both table or …

Member Avatar for diafol
0
327
Member Avatar for double_cola

Hey guys I have a page where a user can drag and drop ellements into divs 's and everything works great, but I need the div to only accept 1 element. Check it out [Click Here](http://www.cintascsr.com/test_site/report/) Right now you can drag both pdf docs into one "send to print" div. …

Member Avatar for AleMonteiro
0
322
Member Avatar for manivannan.ajith
Member Avatar for shahai.ali

hi i m very new to ajax and i want to have incomplete results like in the following image of google: ![upload1](/attachments/large/3/upload1.png "upload1") please help me for this purpose and for more experties in ajax

Member Avatar for JorgeM
0
200
Member Avatar for never_rain

I have a website where I would like to have my users use their facebook login and password and then they sign in and able to post comments. I have seen this a lot at lot of other sites. for eg [url]www.cricinfo.com[/url] I am interested to know how this works. …

Member Avatar for nbn567
0
137
Member Avatar for Meth0d

I'm working to revive an old CMS and the current way of deleting posts in a forum thread is to select them via checkbox and then click delete. I'd like to avoid the numerous amounts of click and just have the user click "delete" on a single post and have …

Member Avatar for broj1
0
219
Member Avatar for ello

Hi There Guys, I've found a lot on this subject, but the sheer amount of scripts and suggestions is overwhelming and researching this has confused me more than anything. I have a fully working contact form, but at the moment it simply checks the users input on submition of the …

Member Avatar for veedeoo
0
2K
Member Avatar for amith_ami

hi all, pls help me... i want to play multiple videos in videogallery... but when i give click on anyvideo its not playing.... here is my code.... tnx in advnc.... <?php $sql="Select * from video_gallery where prod_name LIKE '%$prod_name'"; $obj->query($sql); $nume=$obj->num_rows(); while($row=$obj->query_fetch()) { $code=$row["video_code"]; $cd=explode("/",$code); ?> <div class="video"><iframe width="304" height="192" …

Member Avatar for amith_ami
0
563
Member Avatar for hwoarang69

i have a login form. if there is a error. let say user doesnt fill input fields. than it will print error. but i want to keep the values safe. that way user dont have to keep fill in data again and again. here i have a form. iam print …

Member Avatar for hwoarang69
0
335
Member Avatar for janzaldo

is there any function that converts the values of an array to string? i tried with array_values but i dont know how

Member Avatar for mihai_daniel
0
1K
Member Avatar for hwoarang69

this code doesnt check captol letters. how can i do this. for examle is i have "cat" in table "user". than if i set $username_p to Cat. and it will work fine. but i dont want to work bc Cat != cat. $sql = mysql_query("SELECT id FROM user WHERE username='$username_p' …

Member Avatar for hwoarang69
0
115
Member Avatar for missy_mi
Member Avatar for ello

I know this has been asked before but I really can't relate any of the threads to my code. A'll I'm trying to do is get this quick PHP form to echo the error messages in the form as appose to a new page. (I'm sure you know what I …

Member Avatar for ello
0
197
Member Avatar for AndyPants

Hello, I currently am running a gameing server and found some php code to send RCON commands to my game server. I am completly new to PHP, but not new to code. I would appreceate if someone could fix these 2 lines of code. On my XAMPP server I have …

Member Avatar for diafol
0
181
Member Avatar for double_cola

Hey guys! Im putting together a drag and drop page where a user will drag an ellement (in this case and printable pdf) over into a print field. I need blank fields on the right to return either as (void skip this) or with default pdf. Any ideas? Here is …

Member Avatar for double_cola
0
203
Member Avatar for codingweb

Hello Friends,I need your help.I am creating one form which show records on table.I need to insert this records to another db.But,each row will button to add record.After clicking that button only that particular should be added.I need your help guys.

Member Avatar for diafol
0
80

The End.