39,316 Topics

Member Avatar for
Member Avatar for jrcampbell

I've been working on some code for a while, and it seems that I have a problem at the moment. The code, to me, looks correct and should work, but while trying to use PEAR to send mail out, it's throwing this error: PHP Parse error: syntax error, unexpected T_STRING …

Member Avatar for jrcampbell
0
213
Member Avatar for liphoso

I have three problems i would like help with. ONE: Assume a database called "vote" with table "president", the table has four tuples at the moment. I was hoping to have all the tuples printed on screen but i only get from the second tuple; the first row is not …

Member Avatar for broj1
0
118
Member Avatar for technoknol

Hello Everyone, I have one site and i want to add one php script for remote upload script. So that i can upload files from direct links to my site without using my bandwidth. If anyone know please help me. Thanks.

Member Avatar for diafol
0
53
Member Avatar for DaveyMoyes

Hi All, I have an image upload that works for my requirements - But what I am unable to figure out is how to rename the image to the datatime stamp and to keep the file extension .jpg / .png / .gif / .jpeg etc I have a variable $datetime …

Member Avatar for diafol
0
203
Member Avatar for israillaky

I have a time stored in table 8:00AM-9:30AM TTH . I want to check time range, if user selected 9:00am-10:30am Thursday comes in between time 8:00AM -9:30AM TTH? How to trap it out in php. Time is stored in table as below Time Day 8:00AM -9:30AM TTH 10:30AM -12:00PM MW …

Member Avatar for israillaky
0
632
Member Avatar for nova37

[CODE]include ("config.php"); // select data from database $w3db = mysql_query( "SELECT * FROM w3dbx" ) or die("SELECT Error: ".mysql_error()); $worth = mysql_query( "SELECT * FROM worth" ) or die("SELECT Error: ".mysql_error()); $w3db_rows = mysql_query($w3db); $worth_rows = mysql_query($worth); // fetching data //while ($get_infox = mysql_fetch_assoc($resultx) && $get_info = mysql_fetch_assoc($result)) while ($get_w3db …

Member Avatar for nova37
0
108
Member Avatar for phillyt

Hi all, I have this PHP script (for a HTML form) which I would like to a) check if a checkbox is checked, and then b) if it is, to check some text fields for input. If the checkbox is not checked, these fields do not need to be checked. …

Member Avatar for phillyt
0
160
Member Avatar for baig772
Member Avatar for showman13

Good afternoon, This may sound like a silly question but could someone explain how to make an SSL certificate work? I have a website that I completed (almost), and everything works just fine... Had an SSL certificate installed yesterday, and everything looks exactly the same. How do you make the …

Member Avatar for pritaeas
0
131
Member Avatar for Tristan2036

Hello. I am working on an auction site using the webid auction script. This is open source and allows for mods. I have several mods to make, and am looking to hire someone to do the mods for me. I am only able to follow a certain budget and jobs …

Member Avatar for pritaeas
0
70
Member Avatar for zacharysr

I want to refresh only a certain part of a php code. i have [url]http://www.daparadise.com/profile.php?id=11[/url] that page as my users profile. And only want to show 5 videos at a time. But if they have more then 5 videos i want it to ONLY refresh that part to the next …

Member Avatar for diafol
0
117
Member Avatar for frrf

For a couple of months now I've been working on a community website; however I haven't got past the registaration because MYSQL can't connect to my HTML and PHP codes.Also my laptop treats .PHP documents as text documents and I can't open them, is this related? Thanks in advance :D.

Member Avatar for smantscheff
0
166
Member Avatar for jsa005

Hello! On my website I'm looking to create a dynamic HTML table from the contents of a MySQL database. I have no idea how many rows there will be, and I need it to look a bit like an iPhone home screen. Here is some code: v1: // Make a …

Member Avatar for diafol
0
1K
Member Avatar for coderando

Hello, I keep getting no matter what I do the same error from file index.php [B]Parse error[/B]: parse error, unexpected T_STRING in [B]/home/httpd/vhosts/carpediemmexico.com/httpdocs/index.php[/B] on line [B]12[/B] This is my error file, I am sure your eyes will find the solution. Thanks... You are the best :) [code=php]<?PHPinclude('carpediemlib.php');If(!Isset($_GET['Xlenguaje'])){$Xlenguaje="en";}Else{$Xlenguaje=$_GET['Xlenguaje'];}?> <html> <head> <meta …

Member Avatar for thriftgirl62
0
262
Member Avatar for facarroll

I was browsing a MySql database using phpMyAdmin and I have probably inadverdently changed a setting. I have a field which contains quite large text entries. Before this problem arose the display showed just a few words of the text entry followed by a "...". Now the display shows the …

Member Avatar for simplypixie
0
128
Member Avatar for mbrand

Just wanted to introduce myself. I worked at Microsoft and Amazon.com, amongst other companies in various capacities. I now recruit for a really, really cool company. • 22 developers • 80 gigabits/sec video streaming • 600 million PHP requests/day • 35 million uniques...day! • 10 million registered users We are …

0
159
Member Avatar for -==Zero==-

Hello I Need Something In My Text Area Field When Someone Click On {{ Enter }} It Put A Break Line Between Rows Like Any Editors i Was Using Ckeditor But All I Need Is Break-line Between Rows Example When I Write I Love Daniweb I Respect Daniweb Members I …

Member Avatar for diafol
0
110
Member Avatar for cigoL..:)

Hi, I'm currently working on a school project ..i was wondering if someone can help, i'm creating a system which get's data from a database and creates a CSV file ..i Google a lot none of it helps, i want to get several rows from a table and write it …

Member Avatar for cigoL..:)
0
670
Member Avatar for DaveyMoyes

Hi Everyone, I have been trying to understand mysql a little further - with some small steps in the right direction. but I have come across a problem I am unable to fix / get working. I have a form, that has a variable $country - I am trying to …

Member Avatar for DaveyMoyes
0
254
Member Avatar for klemme

Hi all, I came to think of something in my code, which might cause a problem, but I am not sure. After a user of the site has succesfully put a product in the shopping cart - I set a session['cart_succes'] = 'something'; - to display to the customer (after …

Member Avatar for klemme
0
216
Member Avatar for jacksantho

My question is that first i need to create the 10 checkboxes which i have already done and then when i set the value of any of the checkboxes as checked, it should be saved in a session after clicking on the submit button.After clicking on the submit button the …

Member Avatar for diafol
0
129
Member Avatar for Aser Gado

I have all passwords stored in my database in md5 form. when people log in it always says Email or Password wrong, well thats the error i added when something's wrong, I am pretty sure the email and password are right. here is my login code: [CODE] $emailin=$_POST['emailin']; $passwordin= md5($_POST['passwordin']); …

Member Avatar for diafol
0
139
Member Avatar for QuaminaIT

[CODE] if ($_POST) { echo "You chose ", $_POST; } else { $families = array ("Peter Griffin","Lois Griffin","Chris Griffin","Meg Griffin","Stewie Griffin") ; echo '<form name="families" method="post" action="index.php"><select name="family">'; foreach ($families as $family) { echo '<option value="' . $family . '">' . $family . '</option>'; } echo '<input type="submit">' ; echo …

Member Avatar for QuaminaIT
0
123
Member Avatar for xuweisen

Hi, I have stuck on text animation for web design.. [url]www.byouinternational.com[/url] I want the text on the main page (enter site) can animate when I hover to the text, the animation is like the entersite text slide to the right, and then dissapear, and then appear from left side, back …

Member Avatar for xuweisen
0
103
Member Avatar for suavedesign

I am a web designer, with no experience in programming. I want to learn how to program a submit form, since that something that many clients want on thier websites. Can someone please give me a link to an easy to understand tutorial on how to do this? Thanks!

Member Avatar for reganstar
0
86
Member Avatar for Stickie

So I've got this piece of code: [CODE=php] /* BEGIN ZENDINGEN */ $zendingheader = mysql_query("SELECT z.ID, z.Bestemming, z.Datum, m.Aantal_Duiven, s.Aantal_Manden FROM Shipments AS s JOIN Zendingen AS z ON s.Zending_ID = z.ID JOIN Manden AS m ON s.Mand_ID = m.ID WHERE z.Actief = 1 order by s.Aantal_Manden, m.Aantal_Duiven ASC LIMIT …

Member Avatar for Stickie
0
91
Member Avatar for nova37
Member Avatar for pritaeas
0
90
Member Avatar for thecameraman

I am trying to create at user search for my website and I'm not sure where to start. My table name is users with user_id, user_name, name I'd like to be to search and have a page come up with the top 5 closest results. Sorry if this question has …

Member Avatar for thecameraman
0
578
Member Avatar for subrata_ushasi

Hi all, I have dropdown in html consisting value country name. Instead of entering country name one by one into the mysql table I want to transfer by php programming . Is it possible ? If so ,any one can suggest....... Thanks in advance. Subrata

Member Avatar for subrata_ushasi
0
145
Member Avatar for cartergarth

I have 2 tables: 1. users - user_id(PK), firstname, middlename, lastname 2. user_shift_schedule - shift_code(PK), user_id(FK), effectivity_date I want to get all rows with the latest effectivity_date for each user_id. This is what I've got so far: [CODE]SELECT users.user_id ,users.firstname ,users.middlename ,users.lastname ,user_shift_schedule.shift_id ,MAX(user_shift_schedule.effectivity_date) FROM users JOIN user_shift_schedule ON users.user_id=user_shift_schedule.user_id …

Member Avatar for cartergarth
0
265

The End.