39,326 Topics

Member Avatar for
Member Avatar for mehdi.yazdani

Hi, i created the page which is display some information from database with some rules in the end of page i putted the command that it is show how many page that i have. so, i decide to add next and previous in the sides of page numbers and also …

Member Avatar for Stefano Mtangoo
0
97
Member Avatar for phfilly

Hi! I would just like to know if its possible to give an linked image the ability to send the form instead of a submit button? Like in the example below: [CODE] <form method="post" action="Search.php"> <table id="search"> <tr> <td> Search: <input type="text" name="search" id="search" placeholder="Search for friends"/><td><a href="Search.php" action="Search.php"><img src="graphics/search.png" …

Member Avatar for selina12
0
145
Member Avatar for rajesh1158

I'm very much depressed with the following code. As for me, everything is correct. But the Goddamn code doesn't work. I've a html form with radio buttons and a hidden field. On clicking Submit, the form does not submit. Trying print_r($_POST) on the submitted radio button variable, it returns an …

Member Avatar for Zahinize
0
1K
Member Avatar for nikki05

Hi, I followed the steps to install the social network as shown in below link. I am able to install the social network in my forum. I can see online and offline users. Also, I set the permissions "allow chat only with friends" ," Open links in new window" in …

0
132
Member Avatar for zeeya

Hello!! For my final year project, i would like to build decision support system that give suggestion to customer to build their house based on type of house and price. So, customer will select type of house that they like and also the budge money that they have. Then, the …

Member Avatar for Stefano Mtangoo
0
923
Member Avatar for kb.c7

i want the month to date reports from starting of this month to present day. how to do that in php

Member Avatar for almostbob
0
62
Member Avatar for jetlife76

Ok guys i am working on a program that will compute the distance in miles from Chicago or dallas(radio buttons)to specific destinations. The destination cities are in a selection list. The output should be the distance between the two cities, the time it would take to drive at 60 mph. …

Member Avatar for jetlife76
0
111
Member Avatar for klemme

Hi guys, I would like to validate some form input, and only allow the folowing: letters, numbers, /, - if(!preg_match("*[0-9A-Za-z,-,/]", $url_key)){ $erros[1] = '<small>Error submitting url key!</small>'; } Which is not working.. Its not the point only to allow one / or - But only letters, numbers and /- in …

Member Avatar for pritaeas
0
2K
Member Avatar for agam360

I'd like to know if there is a simple way of retrieving the Cover photo from a user in my application, via the facebook php sdk. I managed to retrive the cover photo id of the album of the cover photo album, but my solution only works partially.(As you can …

0
106
Member Avatar for techyworld

Hii i want to save data to the database when user register. I dont know whats wrong. Am having this error: Warning: DOMDocument::loadXML() [domdocument.loadxml]: Empty string supplied as input in C:\Program Files (x86)\EasyPHP-5.3.6.0\www\TestingAjaxRegistration\register_pro.php on line 13 Warning: DOMDocument::schemaValidate() [domdocument.schemavalidate]: The document has no document element. in C:\Program Files (x86)\EasyPHP-5.3.6.0\www\TestingAjaxRegistration\register_pro.php on …

Member Avatar for pritaeas
0
436
Member Avatar for Galbatorix

Hallo guys, i am new to php. i would like to create a php page that would allow the contents of a folder (word documents) to be displayed on my web page ready for download. i have one end where the files are uploaded from but this other end is …

Member Avatar for Stefano Mtangoo
0
98
Member Avatar for mkab

I have a problem using the oci_execute function in php. I start by initialising my query then oci_parse it and then oci_execute it. Everything works fine. And data are being inserted or modified in my database. The problem is that these data are inserted randomly. If I have a query …

0
136
Member Avatar for Mayank23

Hello, i need help on writing a code that can stop a person from voting twice. such as by refreshing the page, clicking back, or clicking on the button again. can anyone help? thanks heres my voting code so far, it works but user can double vote. [ICODE]<?php $con= mysql_connect("xxxxx","xxxxx","xxxxx"); …

Member Avatar for Stefano Mtangoo
0
577
Member Avatar for umandajayo

Hi I am using drupal 6 and integrate with Ubercart. I need to make invoice and fir that I am using uc_order module. I need to add custom theme to http://"root"/admin/store/orders/####/edit page. Can write node-tpl file...? I wrote page-admin-store-orders-edit.tpl.php file it is working. I put [CODE] <?php print($content); ?>[/CODE] I …

Member Avatar for umandajayo
0
64
Member Avatar for 54uydf

Hi, if I have few files (xlsx) in a folder on my computer (file's name is known), and I want to give the path of the folder in my form using a textbox, [CODE]<input type="text" name="path" id="path" >[/CODE] and for the files to be uploaded to a specific folder on …

Member Avatar for niranga
0
994
Member Avatar for amee01

Hi..I need help...I am using the following [CODE]<?php $username=""; $password=""; $firstname=""; $lastname=""; $ydob=""; $mdob=""; $bdob=""; $email=""; $gender=""; $priority=""; $usid=""; $users= $_POST['txt_xml_users']; $xml_Doc = new DOMDocument(); $xml_Doc->loadXML($users); if(!$xml_Doc->schemaValidate('users.xsd')) echo "Your xml is NOT valid"; else { include("dbconnect.php"); header('Content-Type: text/xml'); //$xml_users=simplexml_load_string($users ); $xml_users=simplexml_import_dom($xml_Doc); foreach ($xml_users->user as $user) { $username=$user->username; $password=$user->password; $firstname=$user->firstname; $lastname=$user->lastname; …

Member Avatar for broj1
-1
92
Member Avatar for jovypinoy

My code below.. I will appreciate all the replies, suggestions and advice. <script> var imageUrl = new Array(); var imageTitle = new Array(); var imageCaption = new Array(); <?php for($counta=0; $counta<$count; $counta++) { echo "imageTitle[".$counta."]=\"".$imageTitle[$counta]."\";"; echo "imageUrl[".$counta."]=\"".$imageURI[$counta]."\";"; echo "imageCaption[".$counta."]=\"".$imageCaption[$counta]."\";"; } ?> jQuery.noConflict(); jQuery(document).ready(function() { var a=0; function changepicture() { jQuery("#slideshowpicture …

Member Avatar for jovypinoy
0
130
Member Avatar for persianprez

I'm using the GapAppStarter (HTML5) to build a small app. I've ran into a problem though, the emulator won't parse PHP no matter what I do. Basically, I can't run any PHP through it. Whether its in the html document, in a PHP document, or if I run it through …

Member Avatar for peter_budo
0
68
Member Avatar for louie540

Hey. So in just the past 2 days, my website has just recently experienced a tsunami of spam. It's a simple site where people anonymously post their confessions for others to read or submit themselves. But last night when I checked, there was around 20 posts of someone advertising their …

Member Avatar for TySkby
0
149
Member Avatar for calebcook
Member Avatar for logicslab

Hi pals , I need a particular script for spun text generation: We need to create a script that will generate a spun text using the data entered by the user, it can use JS/Ajax to make it user friendly. below you will see how the script will look like, …

0
90
Member Avatar for flynismo

Hi all, Basically, here's what I'm trying to do. I have a DB table called [B]products_ssd[/B]. This table contains the columns named: - id - manufacturer - item - description - price - size - pic This table contains the information for SSD drives, from varying manufacturers. Now, to the …

Member Avatar for diafol
0
141
Member Avatar for mrhankey

hi, i have a text area on a form which a user will enter a letter into it. on the page i have a recordset which holds all the clients names and addresses from the table. i want the user to be able to key in <<FirstName>> or <<Address>> into …

Member Avatar for pritaeas
0
58
Member Avatar for extjac

Hello, how can i send an email every 10 min? I want to query the database and then send an email.

Member Avatar for pritaeas
0
81
Member Avatar for siva28

Hello Everybody ! i have a few questions for u I have already made an appointment booking website on PHP using PHP Designer as editor and on WAMP platform, i run it on localhost. The website consults Database and puts forward the times available and lets users fix appointments and …

Member Avatar for diafol
0
95
Member Avatar for Majestics

[code] mysql_query("UPDATE hostip SET time = '".date("d/m/y h:m:s")."' WHERE ipaddress = '".$ip."'"); [/code] Whats the problem in this query.... Its giving me syntax error...

Member Avatar for Majestics
0
57
Member Avatar for PinoyDev

Hi guys..Good Day! I just want a little help why my dynamic image from mySQL database will not display in firefox but with IE it will. Ive created a table to hold the image where i only save the image path which was located in the server folder img. This …

Member Avatar for KazmiLahore
0
192
Member Avatar for Nahiyan

Hello, I am making a dynamic vertical sidebar which uses PHP to fetch data from the database. However, as it is dynamic I have to make sure it will work properly even if it has 100 lines of text. But I am facing a problem that it is going below …

Member Avatar for Zagga
-2
469
Member Avatar for WickidGRAFX

[CODE] <?php $tags = $_POST["search-tags"]; $age = $_POST["search-age"]; $rating = $_POST["search-rating"]; $city = $_POST["search-city"]; $state = $_POST["search-state"]; if (!$tags = "") { $tags = " WHERE `tags`='$tags'"; } if (!$age = "") { $age = " WHERE `age`='$age'"; } if (!$rating = "") { $rating = " WHERE `rating`='$rating'"; } …

Member Avatar for diafol
0
158
Member Avatar for marimifs

Hello, I have done a PHP project and on my localhost it is working perfectly but when I uploaded it on my webspace the CMS part of my website did not work as it is supposed to. The strange thing is that the client side of the website is working …

Member Avatar for Stefano Mtangoo
0
244

The End.