39,402 Topics

Member Avatar for
Member Avatar for magunkey

Hi, I'm completely new to scripting and may as well be looking into a tin of beans. I'm working is CS4. I can create a contact form and set up the spry values and hidden fields etc. My host supports PHP but doesn't offer a mail script to I have …

Member Avatar for boorsekala
0
115
Member Avatar for shivaniaroraji

i have uploaded a group of files and the number of files uploaded is dynamic its value is recieved from form now the name of file type is the number of attachment e.g if 2 files are uploaded then name of 1st file in form will be 1 and name …

Member Avatar for boorsekala
0
92
Member Avatar for BlueCharge

Hi Everyone, I am currently trying to list a leaderboard for refferals. The table is set up with the following columns: id | refferer | user So obviously if someone reffers someone else they will be in a new row so there are multiple rows per person. I am trying …

Member Avatar for boorsekala
0
148
Member Avatar for Awah Mohamed

Hi guys , how is everything ?. I have got a small problem on the datas which are coming from my database . Ok it is not a real problem . A part of my website do contain some articles and i want to view only the titles of the …

Member Avatar for vibhaJ
0
68
Member Avatar for shobhit25

hi all i m very new to php n wanna knw hw can i add a richtext box in my application... thanx in advance..

Member Avatar for arundurai
0
220
Member Avatar for lwaterfo

Hello All, I have very little experience with php, and I recently downloaded a script on a website for displaying a database here: [URL="http://www.designplace.org/scripts.php?page=1&c_id=25"]http://www.designplace.org/scripts.php?page=1&c_id=25[/URL] I tried changing the code in lines 31-33 so that only certain variables within a record would be displayed. This is what my changed code looks …

Member Avatar for lwaterfo
0
85
Member Avatar for urlstwohim

I have a problem with this script. I would like to have the user input used in the query. I have been trying for days and numerous methods with no success. [code=php] <?php function new_module_menu() { $items = array(); $items['new_module/form'] = array( 'title' => t('My form'), 'page callback' => 'new_module_form', …

Member Avatar for urlstwohim
0
168
Member Avatar for dwssassin

Hello, I made a registration confirmation code that emails you a random md5 in the form of [CODE] www.yoururl.com/confirmation.php?key=as19239avjkajesdfkj [/CODE] and key is the confirmation code. However I am trying to implement a 2 part confirmation code (one sent to your email and one sent to your cell phone) so …

Member Avatar for dwssassin
0
145
Member Avatar for nelliott10

I am currently producing a system in which I want the user to be able to select the product name from a drop-down menu and when selected I would like the barcode to appear in the barcode field. I would really appreciate any help, however great or small. The current …

Member Avatar for metalix
0
101
Member Avatar for masterjiraya

I have the trial3.php code here. [code=php] <html> <head> <title> choose 1 </title> </head> <form> <input type='radio' name='name1'>edit<?php echo "<form action=trial.php></form>";?></br> <input type='radio' name='name2'>GMT<?php echo "<form action=trial2.php></form>"; ?></br> <input type='submit' name='SEND' value='send'> </form> </html> <?php $send; $fetch_DATA1=$_GET['name1']; if($_GET['name1']) echo "<form action=trial.php method=get></form>"; else echo "<form action=trial2.php method=get></form>"; ?>[/code] what i …

Member Avatar for metalix
0
148
Member Avatar for jeffcogswell

Rapid Application Development has come a long way since the early days of Delphi and Visual Basic in the mid 1990s. I remember those days well, as I immersed myself in Pascal development with the original Delphi back in 1995 and even wrote a couple of books about it. Delphi …

3
866
Member Avatar for Ndoom

Hi all, Welcome to Study Group 13 (SG13) ^_^ We are a group of people – mostly students – who are self-learners. We share the study materials (obviously online materials), help each other in debugging our codes, and give advice regarding programming or studying problems. Q&A: Q: What programming languages …

Member Avatar for popin
0
454
Member Avatar for ello

Hey guys, I'm having some AJAX troubles that hopefully someone can help me with. I have some PHP code, which works fine. And I'm trying to call the PHP function with AJAX. But I've never used AJAX at all so I'm a little confused. I've tried to fiddle around with …

Member Avatar for ello
0
356
Member Avatar for andydeans

hi, i have a site which is secure with a username and password combination with mysql backend database. the encryption is sha1 for the password. what about securing the url? at the moment it displays for example: page_name.php?ID=24 if you modify the ID other users can see other pages they …

Member Avatar for EvolutionFallen
0
105
Member Avatar for ud2008

I try to create a selection page, where different query are made, depending on selected checkboxes, and textboxes. It works for most the part but I a selection between zipcode ranges and year of birth range (between nbs_zip and nbs_zip2 and between nbs_contact_year and nbs_contact_year2). It works when I have …

Member Avatar for hielo
0
83
Member Avatar for pssubash

I want to be able to open a PowerPoint file in PHP and copy read all the contents? How it is possible,have any idea?

Member Avatar for pssubash
0
176
Member Avatar for doctorphp

Hi All. I am having some trouble with a script which allows a user to upload a photo. When the page first loads it checks if the user has reached their maximum photo capacity. If they have then it will redirect them to another page. If they can upload more …

Member Avatar for doctorphp
0
112
Member Avatar for mybluehair

Hello. I have a php file with a form on it. the form has a few text fields and a few file fields. The problem is that for some weird reason the file upload fields screw everything up. After I press submit, it carries NO data to the fallowing page. …

Member Avatar for syamsasi
0
267
Member Avatar for lwaterfo

Hi all, I am looking for php help. i want to create a login page for access to 1 table (data) in my database (app1) consisting of about 10 fields. I will be giving the user the password and creating a password for them, but I need them to be …

Member Avatar for lwaterfo
0
124
Member Avatar for hjaffer2001

Hi all, I have a code which works fine. [code=php] <?php $db = mysql_connect("localhost","root",""); mysql_select_db("test",$db); $today = date("F j, Y, g:i a"); //echo $today;exit(); $file = "test.txt"; $fp = fopen($file, "r"); $data = fread($fp, filesize($file)); fclose($fp); $output = str_replace("\t|\t", "|", $data); $output = explode("\n", $output); foreach($output as $var) { //$categories_id …

Member Avatar for Karthik.gautham
0
140
Member Avatar for rje7

|__www/ | |__application/ | |__includes.php | |__public/ |__index.php the line in the index.php says require_once ('application/includes.php'); and that includes.php file will have similar require_once which has reference to files under the subfolders of application. i'm using ubuntu lamp stack. i got this open source project which was first developed in …

Member Avatar for rje7
0
122
Member Avatar for theighost

Hello, I am new to Cron and want to test if it's working, I don't have a live server so I am using xamp and wamp. How can I test if my cron code is working? I don't want to use windows scheduler as I am not interested in performing …

Member Avatar for ApocDen
0
240
Member Avatar for comhacker99

I know the image size for the PC in Four Wonder not upload from is drawn from four Wonder I find the sizing. Fit already been done by This อ่ะ ครับ. $ S = GetimageSize ($ pro); $ W = (int) $ s [0]; $ H = (int) $ s …

Member Avatar for comhacker99
0
67
Member Avatar for HFUnited

Hey guys fairly new to PHP as is, I need to run a PHP function call through an onClick which through my research I have found that I need to use AJAX. Let me explain better what I am trying to do. I am currently using Simplepie PHP to pull …

Member Avatar for Medievo
0
477
Member Avatar for narciss18hh

I have a database that gets data from a card reader, a person that wants to eat uses the card and the info about the person gets in the database, info like id, day, name... i want to create dropdown lists that will extract data from the database like this: …

Member Avatar for rajarajan2017
0
91
Member Avatar for hassancool

Hi there.... I was looking to add Jqzoom in a php page... there are different calls in the page and I got stucked with them..... Though I am a learner and want some one to help me with this..... My Page Shows this code [CODE]require('includes/application_top.php'); $navigation->remove_current_page(); $products_query = tep_db_query("select pd.products_name, …

Member Avatar for metalix
0
225
Member Avatar for umandajayo

hello friends, I am try to get database values from while loop. but It gives me [B][COLOR="Red"]Warning: mysql_fetch_assoc(): supplied argument is not a valid MySQL result resource[/COLOR] in /home/empower.md/www/index_ujbee_file_uploard.php on line 32[/B] here this is my code... [CODE] require "connect_ujbee_file_uploard.php"; require "todo.class_ujbee_file_uploard.php"; // Select all the todos, ordered by position: …

Member Avatar for rajarajan2017
0
82
Member Avatar for fasharlht

this is my code.i m trying send mail with attachment(word,excel,pdf,etc....any attachment)plz help me how to attach file...mailing list from database(mysql)...thanks in advance <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> <title>Send e-mails</title> <?php $from = "mail@mail.com"; $mesa = $_POST['mess']; $subje = $_POST['subj']; …

Member Avatar for rajarajan2017
0
141
Member Avatar for canterorist

hi! i'm trying to upload an image in my site. But the error occur. [B]Warning: chmod(): Operation not permitted in /www/clanteam.com/i/s/e/isellitem/htdocs/test3.php on line 9 [/B] [B]Warning: move_uploaded_file(): Unable to access try/2010 BMW M3 Sedan Front View.jpg in /www/clanteam.com/i/s/e/isellitem/htdocs/test3.php on line 10[/B] php code: [CODE] if(isset($_POST['btnsub'])) { $name=$_FILES['file']['name']; $dir='try/'.$name; chmod('try/',0777); move_uploaded_file($_FILES['file']['tmp_name'],$dir); …

Member Avatar for canterorist
0
157
Member Avatar for androidz

hi i downloaded the wp_page_numbers plug-in and install it in wordpress after that i have installed it i set the option in the admin..and at the lower there is a code that says you need to add to your theme.. Add the code where you find previous_post() and next_post() functions. …

Member Avatar for androidz
0
250
Member Avatar for mybluehair

So you would think that I could search up on Google and learn all about URL encoding from all the tutorials, but I have been left seriously confused, and extremely frustrated. Here is what I need to do: I need to make a html link that links to a php …

Member Avatar for mschroeder
0
183
Member Avatar for mpc123

I have results of people that i need to compare and echo out. Eg 2x dropdown menus with all the peoples names in and each field then echoed in a table once the 2x dropdowns have been selected. the 2x dropdowns will be the same and have the same names …

Member Avatar for metalix
0
114
Member Avatar for $urya

Hi, I have searched all over google to find a best book for PHP, and feel lost cause a lot of reference, and I can't even try different books at a time. I want to purchase a book on PHP which covers database, it should have a good availability in …

Member Avatar for metalix
0
162
Member Avatar for mpc123

Sorry very very new to php , at the end of my table is the following [code=php]echo $row['ProductUrl']; echo "</td></tr>"; } [/code] i want to have an image show on the page and on click of that image it then go to the product url. The [ProductUrl] from data base …

Member Avatar for metalix
0
103
Member Avatar for suhailansari

Hi I am new to the database concept and I have to make a college project such as hospital management, Transport management system etc. in DBMS. Our college is teaching us MYSQL. Please can anyone advice me as what to use in making these projects. What database type to use …

Member Avatar for griswolf
0
273
Member Avatar for Lolalola

Hi, for example i have this html code: [CODE]<p><strong>Text text.</strong></p> <p><span style="font-size: 14pt;"><span style="background-color: #ff0000;">Text text...</span></span></p> [/CODE] Possible write this text with this style on the image (with php GD)? Thanks

Member Avatar for sourcebits
0
118
Member Avatar for QWaz

Hi, I am pretty new to php and am not sure if what I am attempting to do for a client is possible. Hoping to know if anyone knows if it is and a solution? I want to: - upon registering a new user create a new folder using their …

Member Avatar for sourcebits
0
133
Member Avatar for tieren

Dear Gurus, I am trying to insert information into three tables then send an email. The purpose of the code is to place uniform orders within a company with multiple stores. Each store must be able to place orders according to job function as well as order accessories available for …

Member Avatar for tieren
0
140
Member Avatar for mpc123

Please help with this if you can My example code below is part of a table that echos several fields, for this field I need to echo the text of the field which the below example code now does, but i need to make it state N/A if the field …

Member Avatar for Usernamex235
0
1K
Member Avatar for mpc123

Please can somebody help with this. I want a Buy Now image to go to the producturl in the database, at the moment I am just echoing , so it only shows the text of the url in the cell. my code currently is [code=php]echo $row['ProductUrl']; echo "</td></tr>"; [/code] Hope …

Member Avatar for hielo
0
135
Member Avatar for D4n1sD

I get an error that eregi() function is deprecated and when I searched for solution which worked for the most to replace eregi() with preg_matc() I get this error Warning: preg_match() [function.preg-match]: Delimiter must not be alphanumeric or backslash in C:\wamp\www\New folder\modules\mod_rokajaxsearch\helper.php on line 112 help me what to do?

Member Avatar for bailaba
0
230
Member Avatar for reibi

Hello all, well sometimes user insert information like "name" in the database because of which it causes problem in the site. So anyone tell me how to resolve this problem. I have already used addslashes.

Member Avatar for metalix
0
210
Member Avatar for Awah Mohamed

hi , my server usually tells me that there is a syntax error so what is it? the error is in line 12 but i dont know what is it here is the code : [CODE] <? $mysql_host = "mysql9.000webhost.com"; $mysql_database = "a2354076_post"; $mysql_user = "username"; $mysql_password = "password"; $tbl_name …

Member Avatar for metalix
0
91
Member Avatar for comhacker99
Member Avatar for YousefAB

Hey all, I would really appreciate it if you can help me with this problem. The basic idea, read all the files in a folder, and print them as links to each file. Which does work. But now, after it gets out of the foreach loop, I need it to …

Member Avatar for YousefAB
0
1K
Member Avatar for mymanmaid

I purchased a template for the sole purpose as it had a page I need for my business and website to request information for customer quotes and I have everything figured out EXCEPT for the checkbox part of it. I have no idea what to do and have spent the …

Member Avatar for mymanmaid
0
68
Member Avatar for php2sheik

hai i want to convert interger number to float number, how in php? for ex i want to convert 500 to 500.00

Member Avatar for applemist
-1
3K
Member Avatar for Tenaciousmug

Wow, I have no clue what I'm doing.. I'm trying to make a random game and if you roll a 6, you will win 500 rp and I'm trying to insert the 500 rp into the user who is logged in ($_SESSION['username'). But I... just don't know where to begin. …

Member Avatar for andy1090
0
146
Member Avatar for dks1383

Hi all I'm going to develop an online handicraft store by Joomla. I'm looking for a good and free extension or plugin … for my store. I need an extension that shows the pictures of my art stuff in good manner and when user clicks on one of them, the …

Member Avatar for chrishea
0
54
Member Avatar for mpc123

Sorry very very new to php , obviously my code below is wrong. What should the code be? [code=php]$result = mysql_query("SELECT * FROM TEST Where Name LIKE 'Smith%'") or die(mysql_error()); // Print out result while($row = mysql_fetch_array($result)){ echo "There are ". $row['COUNT(Surname)'] ."; }[/code] Thanks If anyone can help

Member Avatar for edwinhermann
0
100

The End.