39,326 Topics

Member Avatar for
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
307
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
244
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
399
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
233
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
320
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
327
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
166
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
185
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
557
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
510
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
137
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
750
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
362
Member Avatar for php2sheik

Hi all, How to integrate Payment Gateway in php? Please send the PHP script for payment gateway integration or any other useful links for this? Thanks in advance

Member Avatar for Sudhir_1
0
373
Member Avatar for everton.retweets

Hi Everyone, I have a strange problem with how my content is being displayed, I keep seeing \&#39;s throughout my content that is being displayed from my database. I have tried the following but none seem to be helping me. $ball = htmlspecialchars($row->twh_ball); $ball = str_replace("`", "", $ball); $ball = …

Member Avatar for diafol
0
151
Member Avatar for diafol

**// EDIT 2014-04-07 //** New version (1.0.3) posted at the [bottom](http://www.daniweb.com/web-development/php/code/476623/ajaxed-linked-dropdowns-select-fields-for-volatile-data#post2082327) Demo Page: http://demos.diafol.org/ajax-linked-dropdowns.php *********************************************** Hello All. Been playing around with more linked dropdowns (select form fields), following the code snippet posted for static-ish data [here](http://www.daniweb.com/web-development/php/code/475238/linked-dropdowns-select-fields-for-static-ish-data). The static-ish version is of limited use (or of no use!) if data in …

Member Avatar for diafol
3
1K
Member Avatar for malatamil

i have a pagination code but the problem is i have 2 tabs one is test and test2 if i want to see that test second page click 2 that url showing url?test=page&page=2 and i want to see test2 tab, so if i click test2 that url was not changed. …

Member Avatar for diafol
0
544
Member Avatar for engrjd91

Hello Everyone. I have created a database and linked it with my php page. I have created some users, now what i want is to display the different courses to different users. But when I am trying to apply a join query it is displaying all the courses from the …

Member Avatar for engrjd91
0
302
Member Avatar for neel_143

here is two php pages in which in 1st page i retrieve captcha and submit and in 2nd page it sends to a url n only then i can login to that site the problem is that i retrieve captcha successfully but cant connect to 2nd page its totally lost …

-1
129
Member Avatar for malatamil

i have 2 tables, first is main category will display in dropdownlist, and second is subcategory chexboxes. i have a problem in this. need to display subcategory while selecting any maincategory from dropdownlist id to display subcategory. category table: state:<select name"category" id="category"> <option value="0">...select state...</option> <option value="karnataka">karnataka</option> <option value="Tamilnadu">Tamilnadu</option> <option …

Member Avatar for malatamil
0
2K
Member Avatar for engrjd91

Hello, I have a database, consisting of 8 tables. I am linking my php code with my database, now what i am trying to do is to join two columns of the two seprate tables and display them together in my php page. But whenever I excecute my page it …

Member Avatar for engrjd91
0
232

The End.