38,020 Topics

Member Avatar for
Member Avatar for kingwash

I have three fields in the database table(**serial_no,arrive_date,written_date**).My problem is if **serial_no and arrive_date** already exist in the database, it show say"data already exist". Though **serial_no and arrive_date** already exist but with a different **written_date**, then the data should be inserted into the database. Example ID Serial_no Arrive_date Written_date 1 …

Member Avatar for diafol
0
162
Member Avatar for lukwagomedia

Hello everyone. I have juste started creating my website and I need some help. I have found a thread about this subject but it have been dead since three months back so I didn't get what I wanted from there. What I need help with is: I want to create …

Member Avatar for lukwagomedia
0
2K
Member Avatar for jagobandhu

Will you please help me how can i change my link by .htaccess? My link is like http://localhost/root/?page=index i want to see it as http://localhost/Jagobandhu/index/ when im am in index page or http://localhost/Jagobandhu/contact/ when i am in contact page like as CMS. I have no idea about .htaccess I tried …

0
131
Member Avatar for nileshbhanu

i have genrate a confirm message for session extend and it work properly. but i want that if user not respond to it than it will automatically hide.i have write following code . if($("#takephotopageload").length > 0) { setInterval(function(){ $.ajax({ url: "check_session.php", //data: {action: 'clickme_clicked'}, dataType: "json", success: function(data) { if(data.time …

Member Avatar for diafol
0
165
Member Avatar for kingwash

Hi people, i'm new to php and i have this problem: I am developing an application for an insurance company in php. I have 6 tables linked together by a common id in a database. Applicant or user need so register before loging in.When they login,they fill in a form …

Member Avatar for iamthwee
0
2K
Member Avatar for mohamedasif18

Hi, Am currently doing a PHP project which was full of SMS sending from my site to my client mobiles in india. I have searched and get lot of sms gateway api's worked fine . But now i want to create my [COLOR="Green"][B]OWN SMS GATEWAY API[/B][/COLOR] for my site in …

Member Avatar for sam4444
0
307
Member Avatar for malatamil

i want to fix the image size, becaz if image size is too large then it will take more loading time so i have to reduce that. someone help me to do image scaling method. if size of image width is 800px and i want it in 300px width what …

Member Avatar for malatamil
0
113
Member Avatar for kannan mangalar

im using api for twitter post, when i post content, twitter not generate the status id, i got this below error Fatal error: Uncaught exception 'EpiTwitterNotAuthorizedException' with message '{"errors":[{"message":"Could not authenticate you","code":32}]}' in

Member Avatar for kannan mangalar
0
274
Member Avatar for kindo

Hello world, I'm developing two applications: 1. Chat room 2. Forum The two are under the same domain : **chat_room**.ask.com and **forum**.ask.com What I wanna do is this, I want users who login to the forum to at the same time use the chat room without login in again...just like …

Member Avatar for diafol
0
179
Member Avatar for Raadha

i have a database 'phar' which need to subract its values 'stk' through the request made and gets updated to the db. i used arrays to do subraction.. but not able to store back the values to the db in its position.. my calculations work perfect, but not able to …

Member Avatar for Kyle Wiering
0
248
Member Avatar for rahulhog

How to store string to a variable which contains both single & double quote? The string should be dynamic, not static. For example : *thisis'a"string* another string is : *this'i"sastring* The quotes will be vary its position. Is it possible to store these type of string to a variable? Thank …

Member Avatar for diafol
0
245
Member Avatar for chris.immanuel

Hi Folks, I am having problem with my web design. I am making a query that involves two table but it doesnt do anything when i click submit. do i make mistake in the query ? my code is like this, <?php if ($_POST['action'] == 'show'){ $requestCompSql = "SELECT REQUEST_COMPONENT_CUTTING.PROJECT_NAME, …

Member Avatar for AndrisP
0
185
Member Avatar for cheravelloor
Member Avatar for pritaeas
0
64
Member Avatar for burhanahmed92

Is there a way to load a page for a minute and then fetch content of a page. I am using new DOMDocument method to fetch content from a page which is working fine. Problem is that i want to load a page for a minute because the page from …

Member Avatar for pritaeas
0
303
Member Avatar for MasterHacker110

I'm trying to write a search enigne. Nothing fancy like google or so, just a simple one for educational purposes. I have done a little research and I know that Google uses Python, Java and C++. I on the other hand know C++, PHP, some Java and C# and even …

Member Avatar for kindo
0
243
Member Avatar for ZenMartian

Hi Folks! This is probably an easy one for most of you php people :-) I've got a PHP form that's working fine, yet after I SEND the form, it goes to a web page with a "Thank You" message on it (ala the php {print} command), ok... what I …

Member Avatar for rahulyadav1916
0
15K
Member Avatar for gogs85

How to select image from folder by name in mysql. This is mysql query for other rows $query = "SELECT `posts`.`id` AS `post_id`, `categories`.`id` AS `category_id`,`title`,`contents`,`date_posted` ,`categories`.`name` FROM `posts` INNER JOIN `categories` ON `categories`.`id`= `posts`.`cat_id`"; how to select row 'image' where is name of image and call that image from …

Member Avatar for gogs85
0
1K
Member Avatar for johndohmen1963

Who can help me with the folowing I have javascrip variable and a php datatable And i wand to read the datatable with the javascript variable here is the code i have if(!isset($_POST['bewerk_gegevens'])) { ?> <script language="javascript" type="text/javascript"> var newland = document.getElementById("geboorte_land").value; if ((newland != "" && newland != "Duitsland") …

Member Avatar for johndohmen1963
0
386
Member Avatar for OsaMasw

Hello guys I want to create something like SEO link i have website with three pages, but the header is the same **header.php** <!DOCTYPE html> <html> <head> <style> .active{ background-color: #365214; } ul{ display: inline; } li{ display: inline; } </style> <title></title> </head> <body> <ul> <li><a class="active" href="index.php">HOME</a></li> <li><a href="a.php">ABOUT</a></li> …

Member Avatar for OsaMasw
0
232
Member Avatar for mark103

Hi all, I need some help with my php script. I'm working on the script to parsing the time from my other script so I can convert the hours into format, example: the hours I parse is 1:00 AM so I can convert it to 20140427010000. Here is the list …

Member Avatar for diafol
0
319
Member Avatar for stokie-rich

Hey guys I have found this code to create a quiz, I'm getting the following errors when I try and add a question Warning: require_once(scripts/connect_db.php): failed to open stream: No such file or directory in C:\xampp\htdocs\addQuestions.php on line 33 Fatal error: require_once(): Failed opening required 'scripts/connect_db.php' (include_path='.;C:\xampp\php\PEAR') in C:\xampp\htdocs\addQuestions.php on …

Member Avatar for stokie-rich
0
315
Member Avatar for surferbloggy

Hi i've done a wordpress plugin, i've done th the localization as explained [here](http://www.wdmac.com/how-to-create-a-po-language-translation#more-631) so i've generated the po and mo file for the new languages and i've done the traslations the words to traslate are this way <?php _e('System Settings', 'wp-myplugin-name'); ?> or _e('System Settings', 'wp-myplugin-name') but in the …

0
164
Member Avatar for mpc123

Hi I need to delete words before a set of words in a field. eg delete the words before the word price in that field. I already have a query to replace a certain word but cant see how adapt it to do what I require update TABLE set `field` …

Member Avatar for diafol
0
183
Member Avatar for ray100

This is the project I need to finish. I am fairly new to php and this project has got me confused. Any help would be greatly appreciated The project ask for to validate ISBN 10 Number. There would be 10 digits with 1-9 being Numbers, but Number 10 is an …

Member Avatar for diafol
0
555
Member Avatar for ray100

HI, I am a beginner at programing and I have to do this project where it is asking me to validate any ISBN 13 number. I know how to set up the input page, but I am having or you could say no Idea how to validate a number if …

Member Avatar for iamthwee
0
507
Member Avatar for ravi142

Hello, I am learning codeigniter So I have 3 radio button. My code as under **View Page** <li id="AgencyType" style="z-index: 93;"> <label class="mandatory" for="ExternalAgency">Are you an employment agency?</label> <ul> <li style="z-index: 92;"> <?php $data = array( 'id'=>'ExternalAgency', 'name'=>'ExternalAgency', ); echo form_radio($data);?> <label for="ExternalAgency">No, we recruit directly.</label> </li> <li style="z-index: 91;"> …

Member Avatar for iamthwee
0
136
Member Avatar for ravi142

I am learning codeigniter when i create rule for validate dropdown box but its not given me error message **View File** <?php $option = array('0' =>'[ Please select an Experience Level ]', '1' => 'Without experience', '2' => 'Internship', '3' => 'Less than one year', '4' => 'One year', '5' …

Member Avatar for iamthwee
0
2K
Member Avatar for jovstudios

Hello Guys, I have a radio button has a different value i dont know how to get the sum of this. can you give me some ideas? or sample code? thanks guys. this is my code. <tr> <td width="500"><?php echo $behavioral; ?> </td> <td align="center" > <div> <input type='radio' class='css-checkbox' …

Member Avatar for AndrisP
0
748
Member Avatar for chemistcorey

Hi- I am creating a basic form that posts data to a mySQL database. One of my tables, called "sites", contains the following information: site_name, site_id. I have created a dynamic dropdown menu of the sites (so the dropdown menu references the table "sites" to display all site names in …

Member Avatar for iamthwee
0
1K
Member Avatar for flynismo

Hey guys, Here is what I am trying to do: I would like for a visitor to enter a zip code, and when zip code is entered, a select field would be populated listing all the cities for the corresponding zip. I already have everything set up and working other …

Member Avatar for diafol
0
351

The End.