39,402 Topics

Member Avatar for
Member Avatar for Sean_7

How to redirect url links with parameter in htaccess? Example : for_rent/detail?pro_id=Estrpsatx0usdf-wsdf/dsfet_js-97&type=.....

Member Avatar for diafol
0
50
Member Avatar for Jake.20

Greetings pros :D. I am having problem with creating a directory on my linux server. When i download a file it display that error. (I migrated my php project from windows to linux using WinSCP.)

Member Avatar for Jake.20
0
1K
Member Avatar for ernesto22

i'm having a problem with parsing variables from previous page and saving to database on the next page. i have two pages . first page is where i view my data. i do a select sum, and it works. now on my second page i want to take the total …

Member Avatar for milil
0
117
Member Avatar for koneill

All, I'm trying to pass a hidden value into my php mail script - the img1 isn't displaying - in the e-mail it's coming across with just http://www.mysite.com/custom_clock/sills/ and not the img1 value The html form is here: <form name="customemail" action="mail.php" onsubmit="return SubMail_Validator(this)" method="POST"> <b>E-mail</b><br/> <input type="text" name="from" size="25"><br> <input …

Member Avatar for koneill
0
347
Member Avatar for HuePig

Hi, to my understanding, `isset()` checks is the variable exist and have a value. But when I try the code below, _randNum() keeps on getting new values when it should already have a value because it already exist and have a value. <?php session_start(); if(!isset($_randNum)){ //Check if the variable dont …

Member Avatar for hericles
0
479
Member Avatar for diafol

Hi All, Been a bit bored, so went at it to create a class from some long procedural stuff I found littered in various guises all over the web. The code I used as a base for the class came from [here](http://www.codediesel.com/php/downloading-gmail-attachments-using-php/). As this uses IMAP functions and many of …

4
3K
Member Avatar for ignnniter

Please help me. thanks <?php if ( wt_get_option( 'wt_show_post_img' ) == 1 ){ if (has_post_thumbnail() ) { ?> <div class="thumbnail single-post-thumbnail"><?php the_post_thumbnail( 'wt840_420' ); ?></div><?php } } ?>

Member Avatar for gabrielcastillo
0
141
Member Avatar for waqar60655

I read a bit around here, but as I'm a newbie I couldn't configure what to change the description to on my own, can someone help me? I get this error: ` Warning: Illegal string offset 'members_seo_name' in F:\Server\xampp\htdocs\ipbwaqar\admin\sources\classes\output\publicOutput.php(3526) : eval()'d code on line 12` **publicOutput.php looks something like this:** …

Member Avatar for XSSalpa
0
2K
Member Avatar for chrishea

The scenario is like this: * I am using a CMS that uses FCKEditor (that's what came with it not CKEditor). * I use this CMS a lot, I'm pretty familiar with it and I have never had a problem on my machine or anyone else's using the Admin facility …

Member Avatar for chrishea
0
130
Member Avatar for Sophia_1

Hi everyone...have this table as header and i want to display it in all 2 tabs ie Quarter tabs.Currently, the header detail is only displayed in Quater 1 tab...and eventhough i've use include (header.php) in Quarter 2 tab, the header detail is not displayed.Please advise how to display the same …

0
114
Member Avatar for Rickymarlo

I want to learn PHP? But I wasn't know any basic thing about PHP? Can anybody tell how can I learn it completely? Is there any kind of online school?

Member Avatar for gabrielcastillo
0
60
Member Avatar for ankit1122

hello, how could i create a timestamp or time_of_posting column in my site such that there is no sync problem bw server time and visitor's time... also that column will be used for finding if diff bw time_of_posting and current time is >11months and less than 12 months

Member Avatar for ankit1122
0
78
Member Avatar for Keyra Lee

hi guys..can guys tell me how to make a display for checkbox after checked. the checkbox is checked and i want to display that checkbox? i'm not good in any statement..:'( hopefully u guys can help me..sory for bad english..

Member Avatar for Keyra Lee
0
224
Member Avatar for lloyd.farrell.7

Hi Everyone, I have a twitter app that works perfectly on my desktop website. I have created a 2nd app to perform the same functions on my mobile version of the website. I have done everything the same for the mobile website as I have done for the desktop website. …

Member Avatar for gabrielcastillo
0
96
Member Avatar for learner001

I have a form that has two parameters amenities and attributes. The amenities parameter has a dropdown menu that whose value gets populated from a separate table. The second parameter is attribute whose value will be entered by the user and will get saved in a database. View of database …

Member Avatar for pritaeas
0
256
Member Avatar for RikTelner

Hey, is there a magical way to shorten variables in Visual C# as in PHP? For example in place of `$user_nickname`, `$user_email`, `$user_rank`. They could use `$user["nickname"]`, `$user["email"];`, `$user["rank"]`. Now if you ask me, I think the second row looks much more organized. Is such thing possible in C#? I …

Member Avatar for ddanbe
0
231
Member Avatar for Dani

How can I catch and log PHP fatal errors in CodeIgniter? if (defined('ENVIRONMENT')) { switch (ENVIRONMENT) { case 'development': error_reporting(E_ALL); ini_set('display_errors', '1'); break; case 'testing': case 'production': error_reporting(0); break; default: exit('The application environment is not set correctly.'); } } When environment is set to production and there's a fatal error, …

Member Avatar for Dani
0
264
Member Avatar for nadiam

hello. i got this error and i have no idea why or what is going on. could someone explain in layman's term please and help me out. > Fatal error: Uncaught exception 'PDOException' with message 'SQLSTATE[23000]: Integrity constraint violation: 1048 Column 'event_id' cannot be null' in /home/dhsbnet/public_html/ems/add_guest.php:36 Stack trace: #0 …

Member Avatar for nadiam
0
1K
Member Avatar for codephp

Here is the code. I am trying to hi-lite rows that are generated that have a value of "Y" for column AA_letter_recd in yellow, the rows . The ones that have a value of "N" are not to be high-lited in yellow. Thanks. <?php /*Main Store Index */ // Script …

Member Avatar for codephp
0
289
Member Avatar for abdallahbijle2

How to integrate facebook posts in my website? [URL]www.areinfotech.com[/URL]

Member Avatar for gabrielcastillo
0
104
Member Avatar for chaze

This might be the vaguest question in the history of Daniweb but I have php chat program that is great all for one thing. It will not make any noise. If anyone wants to take a poke at it. I can post logs, even give access to it, and try …

Member Avatar for gabrielcastillo
0
138
Member Avatar for Shodow

this is my modal button this is within the table that why i use echo $rows['id'] <a data-id="<?php echo $rows['id']; ?>" type="button" class="btn btn-success btn-lg btn-block" data-toggle="modal" data-target="#myModal">View Order</a> this is my modal body <?php include('../conn.php'); $id=$_GET['id']; $list_query=mysql_query("select * from db where id='$id'"); $rows=mysql_fetch_array($list_query); ?> <form class="form-horizontal orderitem" role="form"> <div …

Member Avatar for mattster
0
5K
Member Avatar for kristyan

Is there any way i can able to execute the 3rd query? The selected columns where columns 6,7 and 8 The output of the second query are output1, output2 and output3 I want to update the selected columns with the informations from the second query $query=mysql_query("SHOW COLUMNS FROM table LIKE …

Member Avatar for diafol
0
189
Member Avatar for S123S43

I am developing web based mess management application where i need to make attendence through finger print identifications , for this purpose i want to use my laptop HP Probook 4530s build in finger print reader as for development and testing purpose .... is it possible or not ?

Member Avatar for diafol
0
341
Member Avatar for arifsaroha

dear all, i am facing a problem. actually i wanna get user validation with the following code, I want to insert only [a-z0-9_] character in user login....when i insert username like this 'asdfdfad' it returns else part ( special characters are not allowed ). please solve it ..... thanks if …

Member Avatar for Isaac_4
0
219
Member Avatar for Sophia_1

Hi everyone...i have this table ie `Kra,Year,Max(Rating1),Max(Rating2),Tot_Rating`...the task is to display the max occurence of rating.There are 2 types of rating ie "good" or "problematic"..if Max(Rating1)="good" and Max(Rating2)="good", Tot_Rating="good".Below is the coding but it didn't display as what suppose to...please advise...thanks a lot. <!DOCTYPE html> <html> <body> <?php $connection = …

Member Avatar for diafol
0
339
Member Avatar for arifsaroha

Hello everyone, I want to make a website for movies, can any one tell me how can i do the followings .... 1 - will i use xml file for movie path? if yes then how can i use xml file. 2 - is this possible that the record of …

Member Avatar for arifsaroha
0
197
Member Avatar for Keyra Lee

hello guys.. i have a problem..can anyone tell me how to solve this: `Notice: Undefined index: BMK81A in C:wampwww` my full code: if ( isset($_POST['BMK81A']) && isset($_POST['BMK81']) && isset($_POST['DL3']) && isset($_POST['DL2']) && isset($_POST['DL1']) && isset($_POST['S1']) && isset($_POST['S2']) && isset($_POST['S3']) && isset($_POST['S4']) && isset($_POST['S5']) && isset($_POST['S6']) && isset($_POST['S7']) && isset($_POST['D1']) && …

Member Avatar for gabrielcastillo
0
2K
Member Avatar for Nabeel_2

on localhost add to cart is working fine $config['sess_cookie_name'] = 'ci_session'; $config['sess_expiration'] = 7200; $config['sess_expire_on_close'] = FALSE; $config['sess_encrypt_cookie'] = FALSE; $config['sess_use_database'] = TRUE; $config['sess_table_name'] = 'ci_sessions'; $config['sess_match_ip'] = FALSE; $config['sess_match_useragent'] = TRUE; $config['sess_time_to_update'] = 300; CREATE TABLE IF NOT EXISTS `ci_sessions` ( session_id varchar(40) DEFAULT '0' NOT NULL, ip_address varchar(45) …

Member Avatar for Nabeel_2
0
598
Member Avatar for Augustine_1

Pls can some one help? i need a complete php code on how an employee can submit his passport and the passport will display on his profile whenever the profile is accessed.

Member Avatar for diafol
0
97
Member Avatar for mangel.murti

Hi All , i have my admin panel where i build a form which store information of model popup like its color , title etc and also fields is require to show in model popup. i means all features of model popup is generated by admin and saved to database …

Member Avatar for gabrielcastillo
0
111
Member Avatar for mangel.murti

I am just starting a project on google map. i am using below link to get user current location [Click Here](http://www.sitepoint.com/working-with-geolocation-and-google-maps-api/) how can i find other nearby users / places based on current lat , long? any suggestion help me a lot. thanks

Member Avatar for mangel.murti
0
136
Member Avatar for RonKevinT.Manuela

lets say a news and events tab is clicked and it shows news...by clicking read more you may view the whole content of the news including the image present inside...is there a way to display the image on the news tab without clicking the read more button?

Member Avatar for gabrielcastillo
0
87
Member Avatar for hell hansen

CREATE TABLE IF NOT EXISTS `tbl_person_master` ( `id` int(11) NOT NULL AUTO_INCREMENT, `last_name` varchar(40) DEFAULT NULL, `full_names` varchar(100) DEFAULT NULL COMMENT 'Full first name and middle names', `nick_name` varchar(30) DEFAULT NULL COMMENT 'Most people call you by this name', `identity_number` varchar(13) DEFAULT NULL COMMENT 'National identification number', `photo` varchar(255) DEFAULT …

Member Avatar for gabrielcastillo
0
103
Member Avatar for rpv_sen

Hi Please help me on the below issue, how can we can get the `<span id='newText'></span>` value in php. i am not able to get the value in php variable. <html> <head> </head> <body> <script type="text/javascript"> function changeThis(){ var formInput = document.getElementById('theInput').value; document.getElementById('newText').innerHTML = formInput; } </script> You wrote: <span …

Member Avatar for rpv_sen
0
3K
Member Avatar for Sophia_1

Hi...tried to send email notification in php but not successful. When i check my email there is no email notification received. Below is the coding. Once the user click notify button, an email notification supposed to be sent to responsible person...Please advise...Thanks a lot. <?php error_reporting(E_ALL ^ E_NOTICE); $_SESSION['Targetid']; $_SESSION["Progressid"]; …

Member Avatar for edbr
0
354
Member Avatar for lloyd.farrell.7

Hi, Everyone... I have a php script that writes text to an existing .png file. image 1 - I would like to write / add image 2 too image 1 I have the following script working for the correct score. // add correct score $x = 257; $y = 205; …

Member Avatar for diafol
0
195
Member Avatar for loudy_ca

Hello all, I need help as the support team at rockettheme told me that this is out of their support area and its belong to joomla, but they were kind enough to tell me which file need to be adjusted All I need is to make the image linkable to …

Member Avatar for loudy_ca
0
196
Member Avatar for daocntt

array (size=10) 'item-_token' => string 'k4i2tQbZNuKnhV0vqbdBJ0XlwKzGLm09KA0pWa5n' (length=40) 'item-link' => array (size=3) 0 => string 'link 1' (length=6) 1 => string 'link 2' (length=6) 2 => string 'link 3' (length=6) 'item-shop_name' => array (size=3) 0 => string 'a' (length=1) 1 => string 'b' (length=1) 2 => string 'c' (length=1) 'item-color' => …

Member Avatar for broj1
0
252
Member Avatar for mattster

Hi All, Over the years I have smashed through God knows how many brick walls with `.htaccess`, and all I've learnt is don't even try to make it complicated as nothing is ever simple. I have therefore resorted in recent applications to using `mysite.com/index.php/category/sub-category/create/` etc. and PHP to get hold …

Member Avatar for mattster
0
335
Member Avatar for RonKevinT.Manuela

Just a quick question...S_SESSION['variablename'] only works on php files within the same folder?

Member Avatar for RonKevinT.Manuela
0
108
Member Avatar for malatamil

in this query format i want to display the Memr_Name. how can i get the values from this query $qryStr = mysqli_prepare($connection, "SELECT Memr_Name, MEMBER.Memr_Id from MEMBER, VOLUNTEER ". " WHERE MEMBER.Memr_Id = VOLUNTEER.Memr_Id AND VOLUNTEER.Batch= ? ". " AND VOLUNTEER.Task_Id = 'COR_GNRL' AND ". " VOLUNTEER.Chapter_Id = ? ORDER …

Member Avatar for gabrielcastillo
0
122
Member Avatar for RonKevinT.Manuela

Errors: 1. Fatal error: Uncaught exception 'PDOException' with message 'SQLSTATE[HY093]: Invalid parameter number: number of bound variables does not match number of tokens' in C:\wamp\www\SICS\includes\submitcategory.php on line 75 2. PDOException: SQLSTATE[HY093]: Invalid parameter number: number of bound variables does not match number of tokens in C:\wamp\www\SICS\includes\submitcategory.php on line 75 <?php …

Member Avatar for RonKevinT.Manuela
0
2K
Member Avatar for Keyra Lee

hi guys.. i have a problem.. what i want is..i have a form with 2 textfield. i want the value after we insert data into it..the data will insert into database in one column..but how to do it?sory for my bad english..:'( my code: <td bgcolor="#A4DDED"> <strong>DL</strong> <input name="NF1" type="text" …

Member Avatar for Casperjames
0
291
Member Avatar for rpv_sen

HI Please help. how to solve this I am using the below code. insert is working fine. but i am having problem in edit session i edit page i can able to display both values from Database. If i am changing the textbox1 value i am not able to get …

0
118
Member Avatar for v1shwa

Hi, I'm creating a game where users play daily & earn points. I wanted to record the scores of each user each day for a month. At first, I thought to create 31 columns within the table & store the score in the appropriate date field. But, I think it …

Member Avatar for v1shwa
0
216
Member Avatar for davy_yg

Hello, I am trying to input pictures in student profile yet it doesn't work yet. I wonder why? studentinfo.php <?php include('includes/koneksi.php'); $student_id = isset($_GET['student_id']) ? $_GET['student_id'] : ''; $group_id = isset($_POST['group_id']) ? $_POST['group_id'] : ''; $access_level_id = isset($_POST['access_level_id']) ? $_POST['access_level_id'] : ''; $stu_fname = isset($_POST['stu_fname']) ? $_POST['stu_fname'] : ''; $stu_lname …

Member Avatar for davy_yg
0
450
Member Avatar for scaiferw

I would like to capture the modification date from a log file on the client machine in order to warn users (technical on an internal website) that they have not run updates for a given subsystem. Is there a way to do this? I've done this sort of thing before, …

Member Avatar for veedeoo
0
204
Member Avatar for brianbabu

Hey guys, I would like to know how much would it normally charge to create a zomato.com clone. Its a restaurant reviewing site where foodies can review the restaurants, bars and cafes. Thanks in advance! :) Peace!

Member Avatar for Isaac_4
0
132
Member Avatar for terrymold

Hi everyone I have a script which contains contains mostly JavaScript. After various bits of user input, it ends up with an array which contains 6 times (hh:mm) and these can be access by times[0] thru times[5]. Obviously these variables would be available on a clients PC. Another PHP programmer …

Member Avatar for terrymold
0
337

The End.