39,323 Topics

Member Avatar for
Member Avatar for marjan_m

Hi, Please guide me about embedding google map api in the site page. I need to show map for different locations which are stored in DB. I got the API key but dont know how to implement it. Thanks for your time.

Member Avatar for marjan_m
0
131
Member Avatar for shahzad429

Hey every one. i am new in php. i know how to select, edit, add, delete data from database and show it in html table. before i was doing this using 4 php pages each for every one. but today i got an assignment that i have to display data …

Member Avatar for shahzad429
0
116
Member Avatar for mostafanageeb

I am now making a content management system for my site and I made a form that adds a new task to the database but I want this form to enable multiple users to this task I user select tag and allowed multiple choice but when I click submit I …

Member Avatar for cwarn23
0
60
Member Avatar for Josh Connerty

Hello, I have been working on some scripts for a forthcoming site and I have run across an issue. The issue being that when uploading large files (60Mb + ) will only be validated after they have finished being uploaded to a temporary directory. As you could probably imagine this …

Member Avatar for cwarn23
0
5K
Member Avatar for abazoskib

[CODE]<?php //set where you want to store files //in this example we keep file in folder upload //$HTTP_POST_FILES['ufile']['name']; = upload file name //for example upload file name cartoon.gif . $path will be upload/cartoon.gif $path= "/home/content/a/b/a/abazoskib/html/snapit/photos/".$_FILES['ufile']['name']; if($ufile !=none) { if(copy($_FILES['ufile']['tmp_name'], $path)) { echo "Successful<BR/>"; //$HTTP_POST_FILES['ufile']['name'] = file name //$HTTP_POST_FILES['ufile']['size'] = file …

Member Avatar for nav33n
0
251
Member Avatar for cloudedvision

I call this an imaginary error, because the code that causes is never run, and it does not report an error, but the functionality breaks. I'm developing a PHP framework. I have a debugger that writes lines to the a file throughout the execution of the framework. I noticed today …

Member Avatar for cwarn23
0
112
Member Avatar for dreamluverz

How can you pass values from nonpc games like xbox, psp, etc to webservers? I heard you can do it via xml? And how about posting values like POST? Is it also possible?

Member Avatar for Will Gresham
0
95
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
191
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
74
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
287

The End.