39,320 Topics

Member Avatar for
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
242
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
341
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
291
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
297
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
207
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
770
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
280
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
200
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
253
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
322
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
326
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
303
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
414
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
Member Avatar for iamthwee

Hi guys, I'll try to be as brief as possible. I have purchased a login script and I've pulled it apart. It all works nicely except for this one thing. The user logs in with their email address, and there is a forgot password page so that the user can …

Member Avatar for sieunhantanbao
0
189
Member Avatar for nadiam

hello. i have a contact page that has a table populated by data from database. when a user clicks on a name a popup appears with that names data so user can edit/update. in that popup there is one drop down named salutations. say that drop down is not edited …

Member Avatar for nadiam
0
402
Member Avatar for SimonIoa

I am trying to put rows from my database to a select this is the code, <select name='network' id='network'> <option selected>None</option> <?php $query = mysql_query("SELECT * FROM `countries` "); while($row=mysql_fetch_array($query)) { echo $row['name'].'<br>'; } ?> </select>

Member Avatar for SimonIoa
0
257
Member Avatar for slyme

Hi Everybody, I hope someone can help with this, it's taken so long to get this close but I just can't figure out the last small (but show stopping) detail. I start with a string of text and a font-face entered/selected via a form. I am using imagettfbbox to determine …

Member Avatar for diafol
1
1K
Member Avatar for SimonIoa

Does anyone sees any fault? <?php $sql = 'SELECT * FROM messages'; $result = $database->sql_query($sql); while ($row = $database->sql_fetchrow($result)) { echo $row['message']; } ?> and my database connection `$database = mysql_select_db(DB_DATABASE) or die(mysql_error());`

Member Avatar for SimonIoa
0
173
Member Avatar for aseel_1

Hi all , I am a new in PHP my code don't save information in db and password confirmation code doesn't work correctly this is my simple code : <?php // decleration for varible $name=$_POST['nameTxt']; $username=$_POST['userNameTxt']; $passTxt=$_POST['passTxt']; $passConTxt=$_POST['passConTxt'] ; $email=$_POST['email']; $website=$_POST['website']; $errors=0; $submit=$_POST['btn_done']; // connection to mysql $con=mysqli_connect('localhost','root','root'); if(!$con){ die('Could …

Member Avatar for aseel_1
0
394
Member Avatar for faisaldss

I have come accross this website. http://en.colette.fr/women/just-in.html If you notice, the products are loaded with lightning speed. I understand they are using Magento. However, its still not clear how the products are loaded so fast. Can you guys give an idea what's hapening there. Is it the server or a …

Member Avatar for vikiweb
0
275
Member Avatar for 68thorby68

Hi, Is a static server ip a requirement of openssl? Can I install openssl on a shared server? I know less than nothing about SSL. I'm staring my journey to implement openssl and use it in my php project but before I do I want to make sure I don't …

0
101
Member Avatar for Pravesh_1

I am getting 500 internal server error; here is my .htaccess code AuthName "admin" AuthUserFile "/home/machiner/.htpasswds/public_html/passwd" # mod_pagespeed configuration - Do NOT modify the contents <IfModule pagespeed_module> ModPagespeedDomain * ModPagespeed on </IfModule> # End of mod_pagespeed configuration- Do NOT modify the contents

Member Avatar for slyme
0
282
Member Avatar for jKidz

Hi Friends, There is a variable call 'ReportID' Its values are normally in this format. 'MPS141', 'MPS142'.... 'MP' means company name. 'S' means, Songs and '14' means year 2014 and other part is auto incrementing data. I want to get onlye that value. Is there any function in PHP ? …

Member Avatar for jKidz
0
187
Member Avatar for cambraydesign

I am using noUiSlider and I am trying to get the slider value to Post through a form. The form is posting fine, but the value of the slider does not change from the start value, so is always set at 7000. Any ideas how to make the value change …

0
114

The End.