39,320 Topics

Member Avatar for
Member Avatar for bsewell

Hello, I have done some filtering in an array using unset. The problem is that if I do a var_dump on the array after the filtering, then some of the keys are missing. Eg, key 2 isn't showing. So what I would like to do is to remap the keys …

Member Avatar for bsewell
0
92
Member Avatar for kishoresai438

Hi Team, This is Kishore, I have good experiance in Core PHP with Mysql. I am looking for learn new tools like frame work or CMS. I have 3.9 years exp in PHP Environment. Now I am looking for job change, So i want to improve my skills. Please suggest …

Member Avatar for anthonydiaz680
0
162
Member Avatar for Avicii

<div id="rightContent"> <div id="contentBox" class="right"> <div id="contentPadding" style="padding: 10px 10px 5px 10px;"> <div id="slickTitle" class="hotelStat"> <?php $userReg = mysql_num_rows(mysql_query("SELECT * FROM users")); ?> <?php echo $userReg; ?> Registered Users </div> <div id="slickTitle" class="hotelStat"> <?php $totalFurni = mysql_num_rows(mysql_query("SELECT * FROM furniture")); ?> <?php echo $totalFurni; ?> Total Furniture </div> <div id="slickTitle" …

Member Avatar for Avicii
0
147
Member Avatar for doha786

today 1st time i'm trying ot learn recursion funtion thru online tutorails but stuck at begining stage. i found below code but anything i give value its provide me output: 1 so, i need better explanation of that: function factorial($n){ if($n==0){ return 1; } return fact($n, 1); } function fact($i, …

Member Avatar for blocblue
0
89
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
779
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
329
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
593
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
359
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

The End.