39,316 Topics

Member Avatar for
Member Avatar for Josh Connerty

I have done these scripts a thousand times. I still however can't seem to sort out this issue. The issue is that this block of code should return 3 images although it doesn't it only returns one image. The other one I am getting is from a different loop that …

Member Avatar for somedude3488
0
104
Member Avatar for rane_

Hi guys, I have read a lot of posts here for the same problem but I just can't seem to identify the problem in my code (im only a wannabe geek so please use laymans) Parse error: syntax error, unexpected T_STRING in /home/content/w/e/i/weightlosscand/html/sqz2.php on line 65 here's line 64-66 [code]<input …

Member Avatar for rane_
0
146
Member Avatar for dudegio

Hello everyone! Anyone has an idea of reading barcode using a handheld scanner attached to computer. Data being read from the barcode image will be displayed in text area. Any reference you can give is very much apprecciated. Thank you very much.

Member Avatar for Airshow
0
190
Member Avatar for brunope

Hello everyone, I encountered a problem for using the preg_replace method in a text which content a price formatted as $123.45. [CODE]<?php $xRegex = '#{params:.+?}#s'; $sPrice = "$123.45"; $sContent = "Price is {params:xxx}."; echo preg_replace( $xRegex, $sPrice, $sContent, 1 ); ?> [/CODE] When i'm doing this, I got : [I][B]Price …

Member Avatar for almostbob
0
119
Member Avatar for Shanti C

Good Morning All.. How to do coding for code tags , when we post a thread..And the display the content between the code tags with different color using PHP.. Thanks in Advance. Shanti.

Member Avatar for Shanti C
-1
147
Member Avatar for odysea

hi guys, found out about this forum a few weeks ago and found it very useful in regards php issues, i started to experiment with the language lately so i'm still a beginner, i need some help the following code: [CODE]<body> <?php ob_start(); include 'cms/core/config.php'; include 'cms/core/opendb.php'; if(isset($_POST['save'])) { $description …

Member Avatar for odysea
0
98
Member Avatar for santhanalakshmi

Hi, I had a login page to enter the username and password named as [B]"index.php"[/B]. when i entered to that [B]index.php [/B]page,my mouse focus should be pointed at the username textbox.... please help me...........

Member Avatar for santhanalakshmi
0
70
Member Avatar for kings

hi i am trying a job portal.when the paste's the job description the data is not formated.all the paragraphs,align is getting changes can anyone tell any method..so that the data comes as it was pasted when it is retrieved from db

Member Avatar for kings
0
129
Member Avatar for Aamit

Hi.. I am using downloaded code from google it create frame when we upload image. i am modified that code .. I want like when uploaded new image 1> previous image is deleted or new image is overload on previous image in Same frame but problem is when new image …

Member Avatar for danishbacker
0
172
Member Avatar for AON07

what i have so far is data coming from a text box, the user also can select which tables they would like to insert that data into, (up to 4 seperate tables). after its submitted the code checks if the record exists, if not it inserts the data into the …

Member Avatar for nav33n
0
105
Member Avatar for danishbacker

[code] <?php $fileName = basename( $_FILES['fileName']['name']); //count current total files $dir_path = "snaps/"; $count = count(glob($dir_path . "*")); $newFileName = $count . ".jpg"; $target_path = "snaps/" . $newFileName; [COLOR="Red"]if(move_uploaded_file($_FILES['fileName']['tmp_name'], $target_path))[/COLOR] { echo "<br/>Success"; else{ echo "<br />Failed"; } ?> [/code] The above works in my unix like server (Linux server.nixism.com …

Member Avatar for danishbacker
0
374
Member Avatar for danishbacker

I need to make a family tree. But i don't know how to make make it. I asked someone and done some searching in Google. I found three ways as follows 1. Using Database (foreign key to represent relation ship) 2. Using XML to store the data. 3. Using binary …

Member Avatar for danishbacker
0
1K
Member Avatar for diafol

Sorry about the possibly misleading title. Here's what I need to do: I'm producing a downloadable web app that users can load to their own php/MySQL enabled sites. It pretty much installs some tables into their DB and produces some pages to administer high school coursework marks (I won't go …

Member Avatar for diafol
0
127
Member Avatar for baudday

[code=php]<?php /* Dynamic Heading Generator By Stewart Rosenberger http://www.stewartspeak.com/headings/ This script generates PNG images of text, written in the font/size that you specify. These PNG images are passed back to the browser. Optionally, they can be cached for later use. If a cached image is found, a new image will …

Member Avatar for baudday
0
1K
Member Avatar for maheen123

Hi! I want to update or delete a record in database whose values will be taken from form. I tell you the scenario.... First, I created a form for data input which i then saved in database . Then i get the results from database in the form of table. …

Member Avatar for diafol
0
73
Member Avatar for Will Gresham

Hello all. Quick question. I have a table in my database with 'feedback' items which are assigned to pages/items in another database. I have a inner join to list all of the items on the feedback table and which items they are listed on. I have used a DISTINCT on …

0
61
Member Avatar for chrisscicluna

Hi i installed the system as instructed but when i try to login with my username and password this error is shortly being displayed: Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /home/smledit/public_html/sms/classes/crc_login.cls.php on line 129 You can check it out at: [url]http://www.sml.com.mt/sms/pages/crc_login.php[/url] Looking Forward to …

Member Avatar for lqdo
0
185
Member Avatar for mbabaali

pliz help ma have this code but it doesnt delete records ,am tuck what could be the problem,thanks here is the code <?php require_once('Connections/Database.php'); mysql_select_db($database_Database, $Database) or die("Unable to select database"); $aa=$_POST['pnum']; $bb=$_POST['dnum']; mysql_query("DELETE FROM doctor WHERE dID='$aa'"); $checkresult=mysql_query($query) ; if ($checkresult) echo 'delete query succeeded'; else echo 'delete query …

Member Avatar for BzzBee
0
72
Member Avatar for rameshreddy

cursor move on to "menu" then i get submenu in submenu i click on one option the page will display on <div> of same page, plz help me.thanks in advance. my code is: <a href="#" onmouseover="javascript:test(1)" id="ss">tutor</a> <div id="frame1" style="position:absolute; top:120px;left:65px;" class="hide";> <table id="itut" border="1"> <tr> <td> <a href="#" onclick="tutorlogin()">tutorlogin</a><br …

Member Avatar for BzzBee
0
102
Member Avatar for genieuk

Hi, I wanted to know what you PHP programmers recommend. I am new to PHP and am doing pretty good. I gone to w3schools and tzig but found they only explained so much and not much indepth. I been watching videos online that has made a huge difference in my …

Member Avatar for BzzBee
0
120
Member Avatar for shefeekj

HI, I am developing a new website..The design is sowhat over .My problem is its taking too much time to load.I need a very simple interface but i ended up in this bottle neck .I used jquery to add some effects .. Do u have any suggestion to reduce the …

Member Avatar for BzzBee
0
147
Member Avatar for fitse

Hello everyone, I have an xml document that contains the captions of photos in a photo gallery I wanted to put the caption after uploadind the photos and also delete a specific caption Like <caption>Name1</caption> <caption>Name2</caption> can anyone tell me how to edit the xml

Member Avatar for Airshow
0
114
Member Avatar for sandeep_more97

Hey Hii .... I am solving this problem from last 2 days.... but unable to find solution. What i am doing is ..... On click of submit button i want to send email and i am taking client to paypal page to do the payment..... i. e. i want to …

Member Avatar for sandeep_more97
0
263
Member Avatar for rmcgrady

Hi forum, Trying to create an RSS feed for my blog (not using a blog host or blog software). Seems to me the best way for me to do it is to use PHP in the XML to draw the last X posts from my MySQL database. So first, I …

Member Avatar for barbz
0
203
Member Avatar for gkalyan

HI every body, I m having a file aaa.php in my root directory(ie in my main domain) . Now i want to use that aaa.php in my subdomain.How can i point that file from subdomain to main domain. Just i am giving the full path <?php include("http://www.mydomainname.com/aaa.php")?> The above is …

Member Avatar for cwarn23
0
82
Member Avatar for bigfunkychief

Hello, I have a system that generates quotes, it opens a new window with the quote itself. I am trying to make it so I can generate a PDF automatically to a temp file on my webserver, and then use a script I wrote to email the attachment to the …

0
54
Member Avatar for ranjithnagaband

Hi i have one small application which includes clients registrations and contact details.Now i want voice recording which records the customerts conversation with the web site holder n tht conversation has to store in database. So i need a PHP application which supports the voice recordins.

Member Avatar for digital-ether
0
760
Member Avatar for totalnoob

Hi! I was wondering if there is any way to just include a small part of a file? If I write include("c:\wamp\www\somefile.php"); then the whole file is included. I would like to only include the half of the file or a variable. Is this possible? Thanks in advance!

Member Avatar for totalnoob
0
93
Member Avatar for zynap

Hello, I am trying to add hyperlink to my mysql query result. I have a table called EastLondon which consist of the following: [code] (restaurant_id INT UNSIGNED PRIMARY KEY, restaurant_name VARCHAR(20), phone_number VARCHAR(20), picture varchar(8), website varchar(40)); [/code] I extract all these info into a table using php. What I …

Member Avatar for ShawnCplus
0
4K
Member Avatar for ADVAD

Hi I am writing to a text file but end up having several duplicates in the text file, this is a basic program I am creating using PHP and HTML. How is it possible to fwrite only when record exists. Thnx [code]<?php $FirstName = $_POST['FirstName']; $LastName = $_POST['LastName']; $Email = …

Member Avatar for ShawnCplus
0
241

The End.