39,402 Topics

Member Avatar for
Member Avatar for harishprakash
Member Avatar for admins
Member Avatar for rpv_sen

Hi I am having two textbox, textbox1 is having autosuggest feature. i want to display related value based on textbox1 value. can any one pls help me. i collected the code from internet **Output Example** Report Name : PHP Report Version: It has to display the Verison from the database. …

Member Avatar for rpv_sen
1
463
Member Avatar for AntonyRayan

how to change the password for already existed user in php can anyone give me the sample code?

Member Avatar for AntonyRayan
0
294
Member Avatar for sandeepgkumar
Member Avatar for AntonyRayan

How to show multiple pictures in between a period of time. Can anyone give me with example?

Member Avatar for AntonyRayan
0
113
Member Avatar for harishprakash
Member Avatar for Priti_P

Hello, I want to fetch database table in csv file format. I tried but in my output file every fethced line is getting printed on new line. code is as below <?php $host="a.b.c"; $uname="root"; $pass="test"; $database ="TEST"; $connection=mysql_connect($host,$uname,$pass); echo mysql_error(); // Fetch Record from Database $output = ""; $table = …

Member Avatar for Priti_P
0
226
Member Avatar for UK-1991

Hello, I have just created a new page of form submittion but wanted to show different form value when different option is selected from the dropdown can any please help me out with this concirn. Here is my code <form method="post" name="form2" action="insert_report.php"> <label> <p><b>Campaign</b></p> <p> <select name="campaign"> <option value="">Select …

Member Avatar for kazkuzzer007
0
244
Member Avatar for Ventech_IT

Hi guys just a quick question how do i send email from a form in codeigniter? I have searched and tried to get it right but it just keeps telling me that the page required could not be found? Here is my view: <div class="container"> <div class="row"> <div class="container"> <div …

Member Avatar for cereal
0
194
Member Avatar for karan parmar

how to solve or make website in dual language with all content. i want make website in two language (Gujarati Or English). it can possible in single database?.how?. please give me proper logically solution. i can't understand that how to code it. thank you so much.

Member Avatar for Tony Timms
0
884
Member Avatar for nadiam

hello, im wondering how to throw an error message to a user if the input value is a duplicate in `INSERT INTO...` I have: <?php require "connection.php"; $name = $_POST["names"]; $event_id = $_POST["events1"]; $euser_id = $_POST["sessions"]; $single_chair_id = $_POST["schair"]; $assign = $dbh->prepare("INSERT INTO cinema(cuser_id,event_id,guest_name,chair_id) VALUES(?,?,?,?)"); $assign->bindParam(1, $euser_id, PDO::PARAM_INT); $assign->bindParam(2, $event_id, …

Member Avatar for pixelsoul
0
220
Member Avatar for kazkuzzer007

I try to display a pdf document with code like this: <?php session_start(); if (empty($_SESSION['nip']) AND empty($_SESSION['password'])) { ?> <script type='text/javascript'> alert('You must login'); document.location='../../../login.php'; </script> <?php }else{ include_once '../../../config/core.php'; include_once '../../../config/functioncollection.php'; $kode_materi=antiInjections($_GET['id']); $querambildata=mysql_fetch_array(mysql_query("SELECT * FROM materi_tb WHERE kode_materi='$kode_materi'")); $file = "../../../filemateri/".$querambildata['url_materi']; $filename = $querambildata['url_materi']; header('Content-type: application/pdf'); header('Content-Disposition: inline; filename="' …

Member Avatar for pixelsoul
0
331
Member Avatar for ..sri..

I am having a list of values inside a loop. I need to turn all those values into exact 5 star rating. I have searched a lot, but i cant get the exact answer what i need. <?php $a=0; while($a<5) { echo "<input type=text value=$a><br/>"; //need to display star rating …

0
68
Member Avatar for Boss2008
Member Avatar for Lisa Wayne
0
202
Member Avatar for riwakawd

I have made a library class in php which can get data from my database table settings. I can get information if it is not serialized. But I would like to know on my get function what would be best method to be able to return unserialise information just incase …

Member Avatar for pixelsoul
0
188
Member Avatar for sexycodette

hello all; scratching my head because I have no clue why this query doesn't work. php5, mysql 5.1 [code]INSERT INTO cats (title,type,cat_parent,cat_descr) VALUES ('Category Name', '0','0','Category Description')[/code] BASIC insert query. and the error I get ad infinitum is this: [CODE]Error: You have an error in your SQL syntax; check the …

Member Avatar for Adiel
0
3K
Member Avatar for mattster

Hi All, I've used CakePHP for ages and as a framework I really like it and it works nicely. However, it has a nasty snag. Say you wan't CakePHP to be your main application in the website root (`/`), and you wanted a Wordpress blog in a subdirectory (`/blog/`). In …

Member Avatar for mattster
0
154
Member Avatar for davy_yg

index.php <div style="margin: 123px 0 0 310px; position: absolute; z-index: 3;"> <form action="login_portal.php" method="POST"> <input type="text" class="form" name="username"><br> <input type="password" class="form2" name="password"> <div style="margin: 15px 0 0 330px; position: absolute;"> <input type="hidden" name="submit" /> <input type="image" src="images/login.jpg" alt="submit" width="200px"></div> </div> login_portal.php echo "test"; if (@$_POST['submit']) { echo "enter"; I wonder …

Member Avatar for pritaeas
0
120
Member Avatar for john khin

while ($row = mysql_fetch_array($retval, MYSQL_ASSOC)) { echo '<tr>'; echo '<td>' . $row['img_id'] . '</td>'; echo '<td>' . $row['picture'] . '</td>'; echo '<td>' . $row['category'] . '</td>'; echo '<td>' . $row['quantity'] . '</td>'; echo '<td>' . $row['title'] . '</td>'; echo '<td>' . $row['description'] . '</td>'; echo '<td><a class="btn btn-success" href="update.php?id=<?php echo …

Member Avatar for sankar.s789
0
197
Member Avatar for Andre Chenier

my related table is: `slm_slmetiketler` : it's for tags and related post ids. Columns are: `slm_etiket`: tag (`primary key`) `slm_postids`: post ids matched with the tag `slm_idadet`: quantity of post ids matched with the tag example from current state of my table: slm_etiket slm_postids slm_idadet tag1 1 1 tag2 1,3 …

1
81
Member Avatar for Simon_4

I am a bit new in XML and show elements/records on a website. So, here is my xml result. What and how is the easiest way to echo (in php) eg mp:title or <c:assets> <c:link rel="PT01" type="image/jpeg" href="http://ecx.images-amazon.com/images/I/41Qd6Z8OA8L.jpg"/> or price or so? any example would be nice... Cheers <c:searchResults xmlns:c="http://webstore.amazon.com/API" …

0
176
Member Avatar for codecodex

I'd like to get the ID's of every selected chkbx and insert them in diff row. The 3rd img shows the input of php codes but what I want is the last img table. Is it possible? Thanks for help.

Member Avatar for diafol
0
35
Member Avatar for Tom_11

I have a posted this question in the computer science section, someone told me to move it here i am unsure of how to so starting a discussion here. Please can someone help me to make the cell (dates) of the calendar clickable, one they have been clicked it opens …

Member Avatar for cilla
0
1K
Member Avatar for chaitu11
Member Avatar for aquilina

i have problem when adding a subject it got two subject that need to be selected by teacher , management sub and DBMS sub.. said Cannot modify header information - headers already sent by (output started at C:\xampp\htdocs\PhpProject3\navhead_user.php:57) in C:\xampp\htdocs\PhpProject3\teacher_add_subject.php on line 104.. when i select one of them it …

Member Avatar for diafol
0
371
Member Avatar for grakovski

Hello there, I got forum (phpbb3) and i have topics with a lot of links, like this: <a href="link..." class="postlink">Link name...</a> in every link i have class="postlink" and i want to add rel="nofollow" for every external link except my domain by check the 'href' definition. Its possible with only preg_replace …

Member Avatar for grakovski
0
440
Member Avatar for pravinkumar1

i want to know full details about php, as i dont know upto what extend the php is extended till now, specify in the list manner so that everyone can understand easily.

Member Avatar for almostbob
0
367
Member Avatar for riwakawd

I have three files which when i click on delete should be removed. How am I able to use the unlink and realpath for my multiple files? public function delete() { $path_to_file = FCPATH . 'application/modules/admin/controllers/module' .'/'. $this->uri->segment(5).'.php'; $path_to_file_lang = FCPATH . 'application/modules/admin/language'.'/' .'english' .'/'. 'module/'. $this->uri->segment(5).'lang.php'; $path_to_file_view = FCPATH …

Member Avatar for pixelsoul
0
3K
Member Avatar for Rizi004

Hello Everyone, i have table that have some code list if user enter same code from 2 different systems and enter at the same time both user's get data, what i want is the first one will get the data the second one will only see the message that this …

Member Avatar for rubberman
0
211
Member Avatar for adebayo23

Please I have a project that looks like this http://www.businessdictionary.com/ , whereby i can create a search field which search for every topic/word in my database and displays it on a page like you have it on the url above. I would appreciate if anyone can help with this. Thanks.

Member Avatar for rubberman
0
159
Member Avatar for rameshrock

Hello friends, I am the beginner of php developer and i have the Directory module project. i have form of directory module with state , city and business type. while i submit the form then display the result in pagination wise and also fetch the data with pagination wise. So …

Member Avatar for rubberman
0
98
Member Avatar for Stefce

I uploaded the files into my hosting server and im getting this error when i want to open my site what is the problem ? Im using `index.php` but i think that should not be the problem ?

Member Avatar for Stefce
0
207
Member Avatar for maminya.aka

This my form `<form enctype="multipart/form-data" action="upload.php" method="POST" > <table> <tr> <td>Name :</td> <td><input type="text" placeholder="Name" id="text3"></td> </tr> <tr> <td>Chose File : <input type="file" name="image" /></td> <td> <input type="hidden" name="MAX_FILE_SIZE" value="2000000"/> </td> </tr> <tr> <td></td> <td><input type="submit" value="upload"/></td> </tr> </table> </form> ` code to upload image <?php include ("koneksi.php"); // error_reporting(E_ALL …

0
62
Member Avatar for harishprakash
Member Avatar for iamjin100

I am trying to insert data on my database, but when i do, it says UNDEFINED INDEX HTML code here <form action="insert.php" autocomplete="on"> <h1> Sign up </h1> <p> <label for="username">Your username</label> <input id="username" name="username" type="text" /> </p> <p> <label for="emails" > Your email</label> <input id="emails" name="emails" type="email" /> </p> <p> …

Member Avatar for Alicera Nz
0
411
Member Avatar for riwakawd

I am having trouble with unserialize method does not seem to work for my codeigniter project. What is the best method to unserialize with codeigniter php. I get a error A PHP Error was encountered Severity: Notice Message: unserialize(): Error at offset 67 of 139 bytes Filename: extension/model_module.php Line Number: …

Member Avatar for pixelsoul
0
385
Member Avatar for AntonyRayan

<div class="heading1"> <h3>Search by keyword</h3> </div> <div class="items"> <div class="item"> <form method="post"> <input type="text" class="css-input" name="search_key" id="search_key" placeholder="Search here"> <input type="submit" name="search" id="search" class="myButton" value="search" > </form> <div class="clear"> </div> </div> </div> This is my search keyword code: If I give any keyword it should search and display the particular …

Member Avatar for rpv_sen
0
111
Member Avatar for rpv_sen

Hi Friends i am trying to upload the photos in my dynamic place through my script. my path will be specified below [B]$uploaddir = ../gallery/categoryname/name/[/B] when i was trying to upload the photo is not moved in the above path. unfortunatelly is it moved to [B]../gallery/[/B] Please help me to …

Member Avatar for rpv_sen
0
328
Member Avatar for rajabhaskar525

hi all, i want to send sms to mobile phones from web site . is there any solution for this ....... give me idea!!!!!!!!.......

Member Avatar for Bishnoi_1
1
2K
Member Avatar for Bile

-Suppose I have a table "User_Gender" with fields "idGender,Gender_Name" that has Genders stored in it as Male and Female. -And I have a Select Input Field on My say html.php: <select name="Gender_Selector" onchange="document.forms[0].submit();"> <!-- USER GENDER FROM DATABASE IS CALLED HERE--> <?php $System->Genders();?> <!-- USER GENDER FROM DATABASE ENDS HERE--> …

Member Avatar for Bile
0
277
Member Avatar for Bile

-I have some codes written in native mysql and so I've been working on changing Myself to mysqli (I managed the procedural way and so I decided to Move forward with OOP ways) and came accross the use of Prepare Function. -Now the problem is I have a page where …

0
89
Member Avatar for iveto89

I’m trying to make a form, but it can’t be loaded in view. I’m using Bootstrap.My controller code is: <?php class Boot extends CI_Controller { public function __construct() { parent::__construct(); } function index() { $this->load->helper('form'); $this->load->library('form_validation'); // $data['form_css'] = array('class' => 'form-control'); $this->load->view('bootview'); $this->load->view('forma'); } } My view is: <html> …

Member Avatar for iveto89
0
172
Member Avatar for ganesh641

I am working on an app that will allow user to split the cost of a service among themselves. a) is there any working example of this / code that I can look at? in php

Member Avatar for diafol
0
73
Member Avatar for PinoyDev

Good day! I just want to ask a little help on how to redirect the user to the previous page after 5 seconds? Thank you!

Member Avatar for PinoyDev
0
3K
Member Avatar for harishprakash
Member Avatar for Selvakumark11

Hi, I am new to yii and php and i want to deleveop a database design for school exam time table and maintain the time table for school management. How can I procced the same? Please help me? :(

Member Avatar for diafol
0
2K
Member Avatar for muralibobby2015

Hello, I am using mailgun api for sending and receiving emails. The Outgoing mails contains html links/anchors in it.Now one of my clients requirement is to detect whether this email was opened, which link was clicked. ex: If mail contains link called "www.google.com". User opens the email in any email …

Member Avatar for pritaeas
0
374
Member Avatar for harishprakash
Member Avatar for harishprakash

The End.