38,020 Topics

Member Avatar for
Member Avatar for 6pandn21

Hello everyone! I am currently going to build a simple booking website for a restaurant using PHP which will have two major functionality. One will be to book for seats and other to possibly let people order takeaways. Now that will be the front end of the system. But I …

Member Avatar for Stefano Mtangoo
0
125
Member Avatar for 6pandn21

Hello Guys! I get this error when I try to run one of my php page but I do not get this error in other page which are basically same. Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at C:\xampp\htdocs\go\birthday.php:1) in C:\xampp\htdocs\go\auth.php on line …

Member Avatar for llsatellite
0
184
Member Avatar for ap3x

Hello DaniWeb! I know this is my first post, but I don't want to be taken as a "n00b" or whatnot. I know my way around PHP and MySQL fairly well, so to make up for the fact that I'm only 15 and don't know [u]everything[/u] yet, I'll try and …

Member Avatar for ap3x
0
532
Member Avatar for 68thorby68

So near and yet so far. I introduced myself to session control and made a decision to only use session files (not cookies) I am submitting: session_start( ); $_SESSION['uid'] = $iduse; The session file is created and correctly reads the following where the value of $iduse is 1H: barney|s:2:"1H"; In …

Member Avatar for 68thorby68
0
130
Member Avatar for mrjoli021

How would i write a function to accept X number of parameters for ex if i want to write a function to insert into a db. i dont know how many fields i will be inserting into the table?

Member Avatar for kireol
0
105
Member Avatar for SunnySideUp

Hi, I am looking for a script where I can upload pictures to a folder and also to a mysql database table, saving different size versions of the original picture while maintaining Focus. What I mean is everytime I seem to upload a picture and change the size, the new …

0
63
Member Avatar for mxarievilo

I'm trying this: [CODE]$recordset = $conexao->Execute("select * from PRO where CDate(PRO_DTCAD)+PRO_DURAC BETWEEN DateAdd(\"d\", +15, NOW()");[/CODE] PRO_DTCAD is REGISTER DATA PRO_DURAC is DAYS TO EXPIRE But: [QUOTE]PHP Fatal error: Uncaught exception 'com_exception' with message '<b>Source:</b> Microsoft JET Database Engine<br/><b>Description:</b> Missing ), ], or Item in query expression 'CDate(PRO_DTCAD)+PRO_DURAC BETWEEN DateAdd("d", +15, …

0
62
Member Avatar for pargul

hi, i have this code that suppose to return 1 -> 5 rows from mysql table. when i run it, all i get is the first row from the result. if i'm remarking the code and placeing this line i see all the results [CODE]print_r($row);[/CODE] what am i doing wrong? …

Member Avatar for rajabhaskar525
0
99
Member Avatar for sarithak

hi frnds.. i m struggling 4 a long time...i dont know anything regarding flash.. i m using the below code for playing audio files in my website...this is working fine...but i need to stop playing for 10 sec while buffering (starting of the song) the song.audio file should be playing …

Member Avatar for samarudge
0
91
Member Avatar for sam023

is there any way to paginate the page without using limit in Query..!! Actually i m working on predefined stored procedures. and i m not allowed to make in changes that..!!! and that does contain limit function at all..!!!! any suggestions how should i do it.? thanks in advance

Member Avatar for sam023
0
526
Member Avatar for vishal_jamwal

Hi there , is htere possible to send a html form in email as a attachment which has some input fields any help will be appreciated thanks

Member Avatar for rajabhaskar525
0
103
Member Avatar for xuexue

hi, i want to have a button wherein it will create dynamic text boxes depending on the times i click the button. i've seen several codes thru javascript, however, i cannot get the value of the said textbox, could you please help me with this?? tnx..^^

Member Avatar for network18
0
1K
Member Avatar for ncsufan

Greetings, What I have: A custom, dynamic web-based Contact Relationship Manager (CRM). That has: A dropdown option on the website used to select a certain business class that a company can be classified as. Example: RES = Restaurant What I want to add: When the end user selects RES from …

Member Avatar for marissa jasmine
0
96
Member Avatar for ronnjoe

Hi to all, The code below shows to upload a content in to the database. My problem is, i have to create two users, one should login into the page and upload the conntent and the other should login into the page and approve it to display in the site. …

Member Avatar for hemgoyal_1990
0
116
Member Avatar for xarz

I don't know how to explain this correctly but just some sample for you guys so that you can really get what Im trying to say. Today is November 28, 2008 3 days from now is December 1,2008 Im looking for a php code, which can give me the exact …

Member Avatar for chetan.akarte
0
154
Member Avatar for tonyeveland

I need to allow users to upload images and resize the images on the client. Does anyone have a (complete) solution for this? Money is no problem.

Member Avatar for rajabhaskar525
0
60
Member Avatar for Carrots

Hi, I'm making a simple forum. When a user register's, I trying to create their join date. [code] CREATE TABLE Users ( userName varchar(15) NOT NULL, registrationDate datetime default NULL ) [/code] and then have MySQL automatically set that value: [code] $sql = "INSERT INTO Users (userName, registrationDate) VALUES ('".$username."' …

Member Avatar for Carrots
0
120
Member Avatar for phpwebdesigner

I need to download data automatically from a remote server. Its a CSV file, and i need to unzip it, and store the data in a mysql database that i created. There are multiple databases. The first section below is one of the databases that someone helped me with and …

0
114
Member Avatar for dhrider

[B]You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ') VALUES('corey','gibson','Cambodia','ab','bragg creek','t0l0k0','corey_g' at line 1[/B] $sql = mysql_query("INSERT INTO myMembers (firstname, lastname, country, province, city, postal_code, email, acp_reg, rank_medical, rank_fire, nok_firstname, nok_lastname, nok_country, nok_province, …

Member Avatar for phpbeginners
0
129
Member Avatar for leegeorg07

Hi, I am working on a WP theme with a friend and I'm trying to figure out how to update the files on a regular basis. I will have a server that will be on at certain times (when an update is available) and I want a php file that …

Member Avatar for almostbob
0
103
Member Avatar for tatt727

Hi, I have written a code that retrieves values from a MySql database and displays it in a table. So far so good. Then, what I want to do is have the user click on edit and the row that contains the record to be edited becomes editable boxes. I've …

0
67
Member Avatar for paulbasler

I am working on a social network site with php and mysql. I was wondering which way would be the most efficient way of uploading the users pics to the server into a file folder or directly into the database? Also I was wondering would it be easier to save …

Member Avatar for emhmk1
0
88
Member Avatar for DaveCachia

Hi all! I have dug through the heaping amounts of mod_rewrite threads here and elsewhere and have come to no end! I am wondering if this is not working because: A) 1&1 Hosting is garbage. B) Its on a subdomain. Here is my code. [CODE]RewriteEngine On RewriteRule ^([a-zA-Z0-9_-]+)$ profile.php?username=$1 RewriteRule …

Member Avatar for diafol
0
193
Member Avatar for weasel7711

This is my first time really using HTML, Javascript and PHP. This is part of a prototype for a project for my SW Eng. course. The problem I am having is that the form is not going through the validation. The user is supposed to be able to search by …

Member Avatar for Airshow
0
166
Member Avatar for therio7

Hi everyone, I hope someone can help me, here's my problem: I have a php script that retreive photos from a mysql db (and place it on my page into a loop in the right album section), I dont know if you understand what I mean but if you have …

Member Avatar for therio7
0
200
Member Avatar for silursh

I tried real hard to practice that elusive php mail function but i couldn't manage to successfully send email from my php form to any of the mailbox addresses that i specified as recipient in my php form. It has been three days and i am still clueless. So all …

Member Avatar for pritaeas
0
101
Member Avatar for veledrom

Hi, I want to learn ZEND Framework. I have checked the courses and they are very expensize. My question is, if I buy a book for ZEND, do you think i could learn it. I know PHP5 and OOP. I am open for other recomendations. Thanks

Member Avatar for GL.Za
0
64
Member Avatar for nschessnerd

Hi I'm having an issue with curl on windows with php. If i have curl enabled in php and i run php through command line i get an instant cpu spike... php.exe cpu jumps to about 20% then back down. when i disable curl it only jumps to about 2% …

Member Avatar for nschessnerd
0
855
Member Avatar for 68thorby68

I am posting very simple PHP/mysql as below, to get the hang of creating a DB query, and checking if my syntax, and contruction logic is correct, However when I post the code below: [code] $dbhost = 'localhost'; $dbuser = 'myuser'; $dbpss = 'myassword'; //connect to database// $conn = mysql_connect($dbhost, …

Member Avatar for 68thorby68
0
97
Member Avatar for ayesha789

Hi this is my table structure. I need one result from this. There is a field named LAPeriodStart in this table. If LAPeriodStart date is 2009-01-05 Site Id is 4067 Today Date is 2009-12-07 1. Now I need to calculate LAPeriodStart Month from the date(2009-01-05) How its Possiblle? 2. If …

Member Avatar for ayesha789
0
275

The End.