39,320 Topics

Member Avatar for
Member Avatar for deadsolo

Hi there, First off sorry for long wall of text, I just want to give as much context as possible so someone might be able to help me out. I am trying to create a simple helpdesk/ticket system using xampp/php/odbc/and a text file as my database the issue comes from …

Member Avatar for veedeoo
0
352
Member Avatar for dorkwad

Hi i'm looking to create a dynamic website that allows me to showcase my personal picture collection. I want a table in a MySQL database that has the fields: -Image ID -Image Name -Actualimage -Description -Date Added -Views then i want a PHP script that creates a page (i assume …

Member Avatar for asadjaved64
0
2K
Member Avatar for neha05

Hello all, I am doing project which user can upload its image and can customize it according to different differnt functionality available on the site,in which one functionality is that when that the price of image is increases according to the image size for example: I have following radio buttons …

Member Avatar for neha05
0
321
Member Avatar for haris_1

i get this error Parse error: syntax error, unexpected end of file in C:\xampp\htdocs\1\register.php on line 80 this is my code <html> <body style="background-color:#00B5FC"> <?php $connection = mysql_connect("localhost", "root", "drndic899") or die("couldn't connect to the server"); mysql_select_db ("login", $connection) or die ("couldn't connect to the database"); error_reporting(0); if ($_POST['register']){ if …

Member Avatar for diafol
0
226
Member Avatar for chocolatte.lavista_1

Hello guys! What should we need to create notice area in Dreamweaver CS5.5? Is it suitable if we use table as a notice area? Or maybe we need to use another else besides table? Thank you.

Member Avatar for diafol
0
118
Member Avatar for neha05

Hello all, I need a multiple photo frames, on click the selected frame set on the image or image is set on it.Any jquery or javascript plugin is available for it ?

0
184
Member Avatar for vissureddy
Member Avatar for rpv_sen

Hi Friends I am trying to insert into my table. But i am getting an error message as below Notice: Undefined index: img_path in D:\xampp-portable\htdocs\cgoogle\entergoogle\addpages.php on line 21 Notice: Undefined index: img_path in D:\xampp-portable\htdocs\cgoogle\entergoogle\addpages.php on line 23 can any one please help me to resolve. **my code is** <?php if(isset($_POST['Submit'])) …

Member Avatar for rpv_sen
0
339
Member Avatar for urbanthistleuk

Hello, I am just after some information if anyone knows how to create a system in php that auto assigns a user at random when a record is logged in a mysql database I have been tasked to build a logging system for which uses a database to store the …

Member Avatar for urbanthistleuk
0
412
Member Avatar for rajendher

can anybody please tell me how rewrite .php files to .html files in a folder. or how to rewrite urls like http://examle.com/files/ (actual path http://example.com/files.php) using web.config file.

Member Avatar for pritaeas
0
262
Member Avatar for deadsolo

Hello Everyone, As the title implies I need help extracting a name out of a string, my knolwedge of regular expressions is pretty limited. The strings I will be working with will look like this: 12345 Aragon Denvil L. 123-1234 A123456 AragonD AragonAD@fake.mail.us 1000001234 ABC-ABC 123ABCD123 ABCD 1234 A1234 ABC12345A1 …

Member Avatar for deadsolo
0
612
Member Avatar for Wale Adegbite

I will appreciate if anybody can put me through how to convert project coded in PHP MySQL into standalone .exe

Member Avatar for diafol
0
78
Member Avatar for oanahmed

Hi Friends! I want to create a dynamic website. So, to create it I need to know PHP and MySQL. I went to [amazon.com](http://www.amazon.com) and searched for books. I was showed by results of **learning php and mysql**, **learning php** and **learning mysql** book names. I couldn't figured whether should …

Member Avatar for oanahmed
0
345
Member Avatar for Wale Adegbite

I want to populate a table from database, but don't know how to give it auto serial no from 1 to the last number starting before Staff ID. Here is the line of codes: <?php mysql_connect("localhost","root","") or die ("Unable to Establish connection".mysql_error()); mysql_select_db("demoDB") or die ("unable to select database".mysql_error()); $sql="SELECT …

Member Avatar for Wale Adegbite
0
2K
Member Avatar for iamthwee

So there is a lot of useful stuff that comes with code igniter. I'm looking at the pagination class and whilst it works well with table dumps I'm thinking I'd have to seriously hack it to get anything remotely useful or relevant to what I need. So was just thinking …

Member Avatar for iamthwee
0
201
Member Avatar for CreatorZeus

i keep getting a error on the next page saying that hotel1 is an undefined index: page 1: foreach($child->children() as $gchild) { //echo ">> " . $gchild->getName() . ": " . $gchild . "<br>"; echo "<tr><td><input type='radio' name='my' value='my" . $gchild->name . "'></td>"; echo "<td><input type='checkbox' name='hotel". $r."' value='" . …

Member Avatar for pritaeas
0
205
Member Avatar for sallaudin

class Index_model extends MY_Model { protected $user_id=array(); private $last_id; public function __construct(){ $this->load->database(); $this->_table='profiles'; } public function insert_step_1($spram) { $firt_name= $this->session->userdata('first_name'); if($first_name == '' || $last_name == '' || $relationship_to_senior == '' || $email == '' || $insurance == '' || $price_range == '' || $if_insurance == '' || $facility_placement …

Member Avatar for iamthwee
0
114
Member Avatar for ngonix

Hello, I have an application which shows users which are currently logged into the system. The web application is running on a server and everytime a client on another computer logs in, he/she appears on the active users list. Below is some of the code: loggedusers.php ...... <table cellpadding="3"> <tr …

Member Avatar for iamthwee
0
3K
Member Avatar for baig772

I have a form for editing a user record. Its updates the record for the first time but when i press the update button again, it shows me an empty screen and it unsets the picture as well. I cannot figure out what I am doign wrong Below is my …

0
184
Member Avatar for Krstevski

Hello friends, this code/snippet is nothing special, just a simple rss reader class written in PHP. Many times in my projects I use this script to get an RSS feed from some website and now i decided to share with you. This script can be useful for your projects or …

Member Avatar for diafol
0
965
Member Avatar for msmnikolakrga

I want make list years in PHP.List contains years of 1900 to 1992. Second problem is send my list to another adress in GET metods.

Member Avatar for Webville312
0
152
Member Avatar for Iikeloa

Hi I have this table name age John 14 Katy 14 Mark 15 and I want the number of rows where the age is equal to 14 , so in this example the result should be (2) but my problem is that I dont know how to start , so …

Member Avatar for urvisha
0
162
Member Avatar for CarterLangley

Hi guys, back again! OK, this is what I am sitting with now. I have to select a person from the database and in the select box display their first, middle, and last names. The data returned should be the fields id to insert into the foreign key id of …

Member Avatar for diafol
0
226
Member Avatar for network18

Hello, I have installed apache 2.2 but when I try to make it listen to 80, I can browse the target page and access denied error is displayed. But when I change the listening port to say 8080, I could browse using this port. I have already tried to check …

Member Avatar for network18
0
314
Member Avatar for Mike_danvers

Can anybody tell me briefly and in details the procedure to create a system where a logged in user can create multiple photo albums and can upload images in ecah of them.just like we do in any social networking sites. preferably:-if an user is logged in then he will be …

Member Avatar for veedeoo
0
158
Member Avatar for Awah Mohamed

hi guys, well, i was looking at some stuff in my laptop and found the following encoded code it is from a wordpress template but its decoding mechanism is very interesting and i would like to know how it is made so here is the full code: <?php $_F=__FILE__;$_X='Pz48P3BocA0KDQokcDFkZF9nMzRkID0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BjZmI2aW84YmNlJykgew0KCQkJNWNoMiAkYzJudDVudHM7DQoJCX0gNWxzNSB7DQoJCQl3cF9kNDUoJ1MybTV0aDRuZyB3cjJuZy4nKTsNCgkJfQ0KCX0gNWxzNSB7DQoJCXdwX2Q0NSgnUzJtNXRoNG5nIHdyMm5nLicpOw0KCX0NCn0NCjFkZF8xY3Q0Mm4oJ3dwX2YyMnQ1cicsICdwMWRkX3RoNW01X3ByNWwzZDVfNW5kJyk7';eval(base64_decode('JF9YPWJhc2U2NF9kZWNvZGUoJF9YKTskX1g9c3RydHIoJF9YLCcxMjM0NTZhb3VpZScsJ2FvdWllMTIzNDU2Jyk7JF9SPWVyZWdfcmVwbGFjZSgnX19GSUxFX18nLCInIi4kX0YuIiciLCRfWCk7ZXZhbCgkX1IpOyRfUj0wOyRfWD0wOw=='));?> i …

Member Avatar for veedeoo
0
301
Member Avatar for hanan-kh

hi evrey on ineed your help in php &jquery im working in news site in news blok the image should be chang when a mouse move to defrent news title this is the templat <section class="box-nwes-con"> <a href="#"> <img src="images/sport-img.jpg" title="{title}" alt="{title}" /> </a> <div class="news-box-con"> <div class="title-news-block"><a href="#">{title}</a></div> <!-- …

Member Avatar for Bachu
0
301
Member Avatar for T4gal

Hello, Hopefully this is the right forum to post this on. I'm trying to include a few of the latest WP posts on an external homepage. The homepage is in the root folder of the website and WordPress is in it's own directory. I'm using WordPress 3.8.1 with a Twenty …

Member Avatar for T4gal
0
250
Member Avatar for Alistair_1

i am using the below script as my basis for my ajax requests However whenever i run them i keep getting the error Uncaught SyntaxError: Unexpected token hr.onreadystatechange and Uncaught TypeError: Object [object Location] has no method 'load' hr.onreadystatechange Here is the code $('#ind_login_submit').on('click', function (e) { var vars = …

0
140
Member Avatar for Ricky_2

I'm try to make javascript onclick function in php file.the result is make an alert window in my page. but nothing happen.please help me. this is my code: <script type="text/javascript" charset="utf-8"> $('#printdata').click(function() { datastring = {customer :'val', person :'val', address :'val', phone :'val'}; $.ajax({ type:'POST', url:'print.php', data:datastring, cache:false, success:function(){ alert('?????'); …

Member Avatar for diafol
0
237

The End.