39,316 Topics

Member Avatar for
Member Avatar for gazza7

Hi I'm a newbie to PHP and mySQL I have the following problem. I have a database with mp3's which I query by artist name, I then print the results in a table with a maximum of 15 rows. I can then have a next, prev, last and first button …

Member Avatar for gazza7
0
195
Member Avatar for nurul_208

i have a prob to insert the data that i've select from the mysql database into the textbox in php..[CODE]<!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=utf-8" /> <title>New Doctor Record</title> </head> <body bgcolor="#FFFFFF" text="#000000"> <p>&nbsp;</p> <?php $host = "localhost"; $uname = "root"; …

Member Avatar for pritaeas
0
179
Member Avatar for eswar.aspire

Hello, I am wondering to implement this logic. Any suggestion or help I have two iframes 1) iframe 1 is Navigation menu(loaded with flash menu). <iframe name=”menu”/> 2) iframe 2 is load the web page. <iframe name=”page_load”/> When I click the navigation menu the corresponding web page loaded. In one …

Member Avatar for eswar.aspire
0
633
Member Avatar for Ender330

I am having trouble with something that I know is probably really simple: I have a bunch of photos in a profile image folder. I want to call the image based on the id of the folder like this main-$id.jpg. I need to know the PHP that can do that... …

Member Avatar for Ender330
0
92
Member Avatar for ryan311

i have a problem in sharing a file to other user here is my code i get lag when i press the share submit button. share.php [CODE] <form action="sharefile.php" method="post"> <p><strong>Enter Jum/Email ID:</strong></p> <textarea name="share" style="width: 400px; height: 60px;"></textarea> <p>(Jum ID or Primary Email separated by comma)</p> <input type="submit" name="submit" …

Member Avatar for diafol
0
119
Member Avatar for paptamas

Hy all. I need to get the content of multiple pages from a single domain. Now for each page I use an fsockopen connection, and I get the content of the page this way: [CODE] <?php $fp = fsockopen("www.example.com", 80, $errno, $errstr, 30); if (!$fp) { echo "$errstr ($errno)<br />\n"; …

0
85
Member Avatar for mattyd

I have read through the FAQ sticky regarding this topic (and have also searched/read here further on this topic) but I am still receiving the following error: [B][I]Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /home/a4542527/public_html/index.php on line 8[/I][/B] The scripting for this is basic at …

Member Avatar for richieking
0
140
Member Avatar for kesh1000

hi can anyone tell me why doesnt my page redirect if variable $Valid is = 0 thanks also if you could correct me would be appreciated [CODE]<?php $name = $_POST['Name']; $age = $_POST['Age']; $amount = $_POST['Cover']; $plan = $_POST['Plan']; $benefit = $_POST['Benefit']; $Year = DetYear($plan); $Valid = ChkAge($age, $Year); $redirect …

Member Avatar for nonshatter
0
79
Member Avatar for davidjennings

Hi all, I am using WAMP2 on my desktop. each time I run a php page the code is echoed to the screen. The icon in the lower tool bar is white/grey I have had in working I then installed new anti-virus software and that is when I noticed that …

Member Avatar for ivan3510
0
171
Member Avatar for dschuett

Hi, I have a function that I use within my upload script that creates a thumbnail of each image that is uploaded (using php's GD library). The problem is, the thumbnails look absolutely horrible. They are not so much distorted, but just VERY blurry. Here is my function that is …

Member Avatar for dschuett
0
166
Member Avatar for JoeyWong

Hi all, what i want to do is when I select institution A, then the school of institution A come out at the second selection only.. when I select institution B, then the school of institution B come out at second the selection...etc Help...Thanks~ <?php $sql = "SELECT DISTINCT i_name …

0
45
Member Avatar for dschuett

Ok, so i have a form that an ADMIN uses to registers a user (adds them to a database and gives them a username and password so they can log on to view their photos) As soon as the form is submitted the admin is then directed to a page …

Member Avatar for dschuett
0
78
Member Avatar for dschuett

Hi everyone, I have been working on an image gallery to allow people to view/upload their photos. I have everything working pretty well except that I want to modify my upload script so that a thumbnail is generated of each picture that is uploaded and stored in a separate directory …

Member Avatar for dschuett
0
181
Member Avatar for dschuett

I upload pictures and allow users to log in and view them for 30 days using the following statement SELECT * FROM pictures WHERE date >= DATE_SUB(NOW(), INTERVAL 30 DAY) and email='$session_email When i upload a picture for a user the name is stored as a field in a table …

Member Avatar for dschuett
0
107
Member Avatar for dschuett

The following script works GREAT. It uploads an image as well as adds info to mysql about the picture and its location. The problem is that the function "CreateThumbs" actually loops through the entire uploads directory and generates a thumbnail EVERY TIME you upload a picture. I am VERY new …

Member Avatar for dschuett
0
155
Member Avatar for John Linux

Hi, One of my portfolios for a university canoe club committee is to run the website in 2010/2011 season. I would like to improve the photo gallery substantially, and am looking for a ready-made, preferably freeware solution with the following features. - Display photo's from a directory on the server, …

Member Avatar for pritaeas
0
134
Member Avatar for gchurch

hey i have two radio buttons: 'Accept' and 'Don't Accept' when the form submit button is pressed and the 'Accept' radio is not checked i want the page to reload without sending the info accross... [CODE]<form id="form1" name="form1" method="post" action="PaymentFormProcess.php"> <table width="80%" align="center"> <tr> <td width="43%"><strong>Do you accept these terms …

Member Avatar for gchurch
0
4K
Member Avatar for chineerat

hi! I would some advice or guidance to create a timetable or schedule [URL="http://www.dentistry.usyd.edu.au/upload/timetable_example.jpg"]like this[/URL]. the data i am pulling from my db are: Begin and end time of courses, course names and day of the week. Also I would like a notification of when 2 courses overlaps. for example: …

Member Avatar for chineerat
0
4K
Member Avatar for Ender330

Maybe someone can help me with this. I have a sight that is members only and right now there is no charge to join...You just put in your Username, password and email and you are granted access. What I want to do is when they click signup...take them to a …

Member Avatar for dennishall
0
176
Member Avatar for rue...

Im creating an e-commerce site.Need help with the code for transactions such that if a button is clicked,the quanity of the products is reduced in the products table.Say i had ten items and two are bought,the value in the quantity field should come to 8

Member Avatar for Borzoi
0
92
Member Avatar for eswar.aspire

Hello, I getting an error when generating an XML from php and couldn’t find any duplicate root element or space in my XML document. After generating an XML document, it should be saved in specified directory get from POST variable. Error Details: Only one top level element is allowed in …

0
86
Member Avatar for iaaan

Hey, I'm uploading an SVG file, parsing the XML and then using PHP to redraw the image using the GD library. The SVG files are made with CorelDraw. Everything is going well, I can get the picture height, width, text and images. Just one thing I'm not sure about. Shapes …

Member Avatar for pritaeas
0
181
Member Avatar for keok
0
53
Member Avatar for SunnySideUp

Hi, I am using Tiny MCE as a Textbox to get user generated input which can be bold, italic, underlined, lists and different alignments. When the user submits the form data the information is then saved to a variable like below: [CODE] $jobDesc = mysqli_real_escape_string ($dbc, $trimmed['txtJobProfile']); [/CODE] The I …

Member Avatar for SunnySideUp
0
199
Member Avatar for facarroll

Here is my form.It works fine.Because it is a radio button form, only one variable of the six available is chosen. This variable is echoed in the relevant hidden field. Then when the variable from the hidden field is posted, it is supposed to be converted to one of six …

0
86
Member Avatar for pk.sharma

How to enabled encryption using PHP platform so that it can sync with JAVA

Member Avatar for masijade
0
29
Member Avatar for suhnako

please help! we are going to develop a web-based learning management system..what programming languages should i use? including php.

Member Avatar for theausum
0
90
Member Avatar for shubet

HI guys, i've done this paging using pdf, but my printer is EPSON DOT MATRIX.. so i want to print it as a text page. my problem is how page break result from a database and same heading on the next page.. Here is my code, can you do it …

0
58
Member Avatar for jonow

I know how you can send text messages through PHP like you send an email (explenation: [URL="http://venture-ware.com/kevin/?p=106"]Sending a Text Message (SMS) with PHP [/URL] and more info: [URL="http://www.stemkoski.com/sending-text-messages-using-php-for-free/"]How to Send Free Text Messages Using PHP[/URL]) but the person has to give their cell phone provider (ex: Sprint, AT&T, Verizon). I …

Member Avatar for jonow
0
1K
Member Avatar for Sorcher

Greetings, I got no clue how to make / set a session. When i login on my page and then press a link i get out-logged, I've tried to read on PHP.net but i cant get it together. Anyone got an explaination or code i could go from to keep …

Member Avatar for Sorcher
0
115

The End.