39,388 Topics

Member Avatar for
Member Avatar for Angellore_1

Good Day. Call me Angel. I'm havng trouble with **Live Edit Table**. Appears not to be working for me. I have this system. A small rental system actually, that would save the details for the rented properties. Here's the actual table: <img src="https://fbcdn-sphotos-g-a.akamaihd.net/hphotos-ak-xpa1/t1.0-9/10314749_882248248457445_2787632760191268129_n.jpg"> (other columns are trimmed) The admin has …

Member Avatar for Angellore_1
0
210
Member Avatar for amit.chaudhari.71

dear friends m using strtotime () function to compare two dates , but it is not working for the date greater then '19-jan-2038'.my os is win 7 32 bit and php 5.2 and apache 2.2.plz if any body having any solution , kindly share it

Member Avatar for amit.chaudhari.71
0
390
Member Avatar for network18

Hello, I am installed php 5.3.28 with apache 2.2 and mysql 5.5.38 on windows 64 bit machine, despite configuring php correctly with apache and also enabled the extensions, its not able to recognise the mysql extension loaded. The connection attempt through adodb throws the error "call to undefined function mysql_connect() …

Member Avatar for network18
0
663
Member Avatar for emmaharward789

difference between the php and android and both which one best choice for career..

Member Avatar for shophiarajan47
-3
128
Member Avatar for minghags

I need to create 3-4 buttons that are colored when pressed, but when one button is pressed it turns for example red other ones become grey. But this must happen on the same site like selection for example. I didnt maanage to do anything till now, if someone could just …

Member Avatar for Benjamin_11
0
221
Member Avatar for filipgothic

I need command that will display error if var is not number I tried few examples but nothing seems to work, here is what I tried, one worked but it messed up my previous code, if its 0 display other msg, now when its 0 it displays like its string …

Member Avatar for filipgothic
0
531
Member Avatar for hanspeare

Hello everyone, I want to download an image which was uploaded from the database Here is my HTML codes for the download link <a href='download.php?id=<?php echo $data["LRCard"]; ?>'>Download</a> and here is my download.php code <?php include 'Connect.php'; mysql_select_db("student"); $id = $_GET['id']; $student_id = htmlentities($_REQUEST['id'], ENT_QUOTES); $result = mysql_query("SELECT LRCard FROM …

Member Avatar for hanspeare
0
343
Member Avatar for SimonIoa

hello i have a problem understanding how a function works for example i wrote this php code <?php $face = $Wall->Profilepic($profile_pic_path); $query = mysql_query("SELECT * FROM `messages` WHERE type ='A' AND uid_fk = '$uid'"); while($row=mysql_fetch_array($query)) { echo '<a href="'.$base_url.'roves/'.$row['msg_id'].'" ><img src="'.$face.'" class="small_face" original-title="'.$row['message'].'" ></a>'; } ?> and i named a …

Member Avatar for Borzoi
0
405
Member Avatar for ravi142

Hello everyone. Here just page refresh Counter++. $this->db->select('Counter_field'); $this->db->where('id', $id); $cnt = $this->db->get('Job_Description'); $new_cnt = $cnt+1; $data = array('Counter_field'=>$new_cnt); $this->db->where('id',$id); $query = $this->db->update('Job_Description',$data); What is wrong with above Query.. Every time i want increment and go to update results store in DB.

Member Avatar for cereal
0
135
Member Avatar for davy_yg

Hello, How to create paging for tables? I am having this database tables. I am afraid that the database will be too long so that I would like to limit the row number of the tables up to 5 rows for example and it has too go to the next …

Member Avatar for rpv_sen
0
116
Member Avatar for jacksantho

Hi, How to create a dynamic drop down list using php. My drop down list should be: Example: if manager logins : the manager should see only the manager list of a company. if employee logins: the employee should see only the employee list of a company. Please help me …

Member Avatar for tapananand
0
791
Member Avatar for Ehsan_3

Can anybody help or point me in the right direction what is missing on my code. The postcode is a mysql table and one field stores user's choice of postcodes in the form of array(a,b,c,d and etc....) Now I want to load selectedPostcode in checkboxes for user_id = 2 to …

Member Avatar for Ehsan_3
0
247
Member Avatar for davy_yg

Hello, I am looking for a sign-in button like this: [button](http://www.squline.com/en/) any clue how to create one like that? Thanks in advance.

Member Avatar for tapananand
0
243
Member Avatar for jKidz

Hi Guys I wrote simple PHP script for get value from URL and check similar values from the database. This is a code <?php include('../../datab.php'); if(!empty($_GET['ip'])) { $ip = $_GET['ip']; $ipcheck = mysql_query("SELECT * FROM `report` WHERE `ip`='$ip'"); if(mysql_num_rows($ipcheck)> 0) { while($row = mysql_fetch_array($ipcheck)){ ?> <body> <p>Report ID : <?php …

Member Avatar for jKidz
0
254
Member Avatar for munchlaxxx

I need help with getting .php files to run in my browser (Chrome). If it's totally php, it just shows the code itself in the browser. And if it's php and html I get something like this: http://i.imgur.com/QwsRiVG.jpg Here is the code: <!DOCTYPE HTML> <html> <head> </head> <body> <?php // …

Member Avatar for tapananand
0
343
Member Avatar for showman13

I am trying to change my ways and wonder if someone could help me find my way... LOL Honestly. I've always used forms in my scripts that a visitor had to submit, and it would reload the page and check the input and display any errors, etc... What I would …

Member Avatar for showman13
0
292
Member Avatar for vizz

I used following code for hiding **.php** extension but **mail()** function stopped working. What is the problem? RewriteCond %{THE_REQUEST} ^[A-Z]{3,}\s([^.]+)\.php [NC] RewriteRule ^ %1 [R,L,NC] RewriteCond %{REQUEST_FILENAME}.php -f RewriteRule ^ %{REQUEST_URI}.php [L] **Mail function & redirect** mail($to,$subject,$message,$headers); header('Location: http://xyz.com/');

Member Avatar for Sikander Nasar
0
301
Member Avatar for rjusman90

<tr class="tablerow"> <td>Page Id</td> <td><select name='PageId' class="select"> <option value='0' >select any page</option> <?php $sql10 = "SELECT Id,Title FROM abc"; $rs = mysql_query($sql10) or die(mysql_error()); while($row = mysql_fetch_array($rs)){ echo "<option value='".$row["Id"]."'>".$row["Title"]."</option>"; } mysql_free_result($rs); ?> this done show all title from table but when i update form i want that the tile …

Member Avatar for shophiarajan47
0
208
Member Avatar for showman13

OK, I have the following regulare expression for phone number validation, but it doesn't really do EXACTLY what I want... What I want to see is a forced format 000-000-0000 where it needs to be entered with the area code-prefix-suffix including the dashes. I store it in a varchar field …

Member Avatar for AndrisP
0
773
Member Avatar for dapcigar

Hello all, Am trying to display records from mysql using HIghchart but for some reasons, it is not bringing out any output, please help me look into my codes. :::::::::::::::::::::::::::::::::::::data1.php :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: <?php include('mysql_connect.php'); $dept = $_POST['department']; //include('mysql_connect.php'); $stat = 'paid'; $result = mysql_query ("select category, amount, actual from budget where …

Member Avatar for naui95
0
281
Member Avatar for Ryan_11

I have a table that logs customer data but i want to search for the customer, upon finding that customer i want to click on the name and find it in another table that store other data. But here is where i am stuck i want to check which table …

Member Avatar for tapananand
0
201
Member Avatar for gianluzzz

Hi all guys, I want to do, for the administrators, a page where are displayed all the "routes" regarding the pages etc. This is the html markup: <?php /** * @var IV_View_Base $this */ ?> <table class="table table-bordered" width="100%"> <tr> <td> <table width="100%"> <tr> <th width="13%">Path</th> <th width="13%">Module</th> <th width="13%">Controller</th> …

Member Avatar for veedeoo
0
257
Member Avatar for Ryan_11

I am trying to develop a seach page to search the customer files that in the database. I want to be able to search and the result display on the same page and i can search for another customer without going to another page. <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js"></script> <script type="text/javascript"> $(function() …

Member Avatar for Ryan_11
0
325
Member Avatar for Ramji_1

Hi all, I have a joomla 3.2 site. My site's admin panel was working fine before sometime. But now it's showing blank page when i am accessing administrator account using valid admin url. When i inspected it with firebug i found that it's not getting some files. Then i checked …

Member Avatar for jKidz
0
327
Member Avatar for Ramji_1

I have a joomla 3.2 site and also have a android app for my site. Now, i want a suggestion system such that when anyone browse any page of my site from android device, it should display a popup, suggesting that please download our android app. There should have two …

Member Avatar for jKidz
0
304
Member Avatar for Ventech_IT

Hi guys having a little problem getting my brain wrapped around this, im new to php and need some help, on my homepage i have a product spotlight container. In this container i would like to pull information from a table in my database and display the relevant content. I …

Member Avatar for tapananand
0
440
Member Avatar for Jha_1

<html> <head> <basefont face="Arial"> </head> <body> <?php error_reporting(E_ALL); if (!isset($_POST['Submit'])) { // form not submitted ?> <form action="<?=$_SERVER['PHP_SELF']?>" method="post"> search <input type="text" name="search"> <select size="1" name="dropdown"> <option value="" selected>search By...</option> <option value="first">Company</option> <option value="last">Address</option> </select> <input type="Submit" value="Submit" name="Submit"> </form> <?php } else { // Server Variables $host = "localhost"; …

Member Avatar for cereal
0
388
Member Avatar for Ventech_IT

Hello, I'm new to php mysql and would like to ask if someone can point me in the right direction for a script or tutorial that could explain to me how to achieve the following. I have a page that is called "page.php" now when i click a link it …

Member Avatar for tapananand
0
235
Member Avatar for ayeng

Can anybody help me with this? use cakephp ajax jquery to retrieve data from db and display in textbox. any help is much appreciated!

0
88
Member Avatar for Sikander Nasar

/* -------------Physical Quantities------------Available Quantities * 51 50 * 51 50 * 63 62 * * ********************************************************** this is my table which confusing me too much.Error in this code is that when an order is processed it will add 1 to all the physical quantities,this product have four colours and i …

Member Avatar for Sikander Nasar
0
115

The End.