39,402 Topics

Member Avatar for
Member Avatar for LloydFarrell

Hi all I have the following script 99.9% working for uploading a single image to a database - Storing the file in a folder and placing a link to the file in the database - The only problem im having now is when the image is uploaded the extension of …

Member Avatar for chrishea
0
131
Member Avatar for krrr25

I want to read the content of a .rtf or .doc files and display the file content as html output in a webpage. Need to extract some of part of the content also, like name, surname. mobile etc.... Anybody have the script to process .rtf or .doc files into html. …

Member Avatar for chrishea
0
54
Member Avatar for jjemphoung

good day! i'm a newbie in php. but i know the basic things like what is server side and what is client side. my question is is it "OK" if i place a php script (which is a server side) in the page that my client views? i dont know …

Member Avatar for jjemphoung
0
125
Member Avatar for Gregoriochavez

After weeks of getting a javascript to work the way I want it to, I am informed by the company that hosts my web sites that they want more money for me to have the .js file functional on the server. I am not a coder, nor do I have …

Member Avatar for Gregoriochavez
0
79
Member Avatar for RobotFX

Hi! I'd like to show the ads on my page only to visitors coming from search engines. I'm looking for a php script that can do the trick - if lucky and I'll find it, I'll integrate it in my page. If you know of such thing or how to …

Member Avatar for RobotFX
0
154
Member Avatar for lwaterfo

Hello again everyone.. I have a form with an e-mail input. After the user enters their e-mail, I want to have the content of the form sent to them... The name of the form textfield for the e-mail is "email". How could I make this happen in the php script?? …

Member Avatar for lwaterfo
0
171
Member Avatar for kadriirdak

Hi There, I do have an array; [CODE] $result = array( 'Database' => $database, 'UserID' => $contactAmendedBy, 'OldContactNumber'=> $_SESSION["CONTACTNUMBER"], 'OldActivity'=> $OldActivity, 'OldActivityValue'=> "ANT", 'OldSource'=> $OldSource, 'OldValidFrom'=> "25/08/2010", [*]'OldValidTo'=> "26/08/2110", 'Source'=> $Source, 'ValidTo'=> $ValidTo )); [/CODE] What I want to do is to give move values to dates. like; [CODE] 'OldValidFrom'=> …

Member Avatar for hielo
0
68
Member Avatar for gchurch

i want to use federated tables in my db and not sure how to set them up in phpmyadmin...? does anyone have a solution for me...?

Member Avatar for gchurch
0
631
Member Avatar for arunkhopade

Hello All, I m getting the following error... CGI Error The specified CGI application misbehaved by not returning a complete set of HTTP headers. The headers it did return are: Please tell me what to do???

Member Avatar for d5e5
0
52
Member Avatar for ello

Hi, I've got a form with captcha working, but I'm trying to add a 'refresh captcha' link too it. Now I already have something changing dynamically with PHP so I was wondering if something like that would work for this. Here's the one I have working: [CODE] <a href="index.php?act=generate_quotes">Generate</a> [/CODE] …

Member Avatar for ello
0
102
Member Avatar for ppetree

OK, putting together a simple table based on the output from a sql query. mysql_num_fields() returns 9 so I know I'm getting ONE row back. mysql_field_name($result, $i) returns the column name. When I try to output the table row(s), I get nothing... nada... zip... I must be missing something! (tired …

Member Avatar for ppetree
0
124
Member Avatar for vibhaJ

Hi All, I am having one php website. where user register and add android application id from android market.e.g. com.GalleryXYZ... I just have to check that whether this id is valid or not on android market? I found below link: [URL="http://developer.android.com/guide/publishing/publishing.html#marketintent"]http://developer.android.com/guide/publishing/publishing.html#marketintent[/URL] But it doesn't help me. Is android provide any …

Member Avatar for vibhaJ
0
152
Member Avatar for tyroneb

Hi all, I have been on this now for two weeks. Very much a neewbie. Despite following Googles own instructions to the letter I just can't get the analytics cookie working on the following page: [CODE]<?php $filename = {name}; $filesize = filesize($filename); $filetype = substr($filename, -3, 3); switch($filetype) { case …

Member Avatar for EverWebby
0
232
Member Avatar for buzz-lightyear

Hey guys, I'm a total newbie with this PHP stuff but i'm stuck with my page that allows people to sign up to my mailing list. Every time you press the "Submit Query" button on the form it brings up the option to download the php file. Have been working …

Member Avatar for EverWebby
0
107
Member Avatar for heshanm

Hi, I have 4 account type tables. savings_investment(ID,account_type,full_name,balance,interest,customer_id) shakthi(ID,account_type,full_name,balance,interest,customer_id) surathal(ID,account_type,full_name,balance,interest,customer_id) abhimani_plus(ID,account_type,full_name,balance,interest,customer_id) The ID is different from one table to another. That is why i created 4 tables rather than one table. I want to write the coding to [B]check account balances[/B]. That is if user types the ID and clicks …

Member Avatar for ppetree
0
49
Member Avatar for OpenBSD

Hi, I have Any Form For registering user. how to insert multiple rows in mysql for each user. my form : <input type = "text" name = "color" size = "10"><br> <input type = "checkbox" name = colors[] value = "red">Red <input type = "checkbox" name = colors[] value = …

Member Avatar for muralibobby2015
0
89
Member Avatar for benhowdle89

Hi, Any advice on starting a freelance job board? I can use PHP/mySQL etc but just asking for a bit of structure guidance, anyone had any experience with administrating one/starting one? Thanks in advance!

0
55
Member Avatar for vibhaJ

Hi All, I am having one php website. where user register and add android application id from android market.e.g. com.GalleryXYZ... I just have to check that whether this id is valid or not on android market? I found below link: [URL="http://developer.android.com/guide/publishing/publishing.html#marketintent"]http://developer.android.com/guide/publishing/publishing.html#marketintent[/URL] But it doesn't help me. Is android provide any …

0
96
Member Avatar for lifeworks

Hi I need a solution for sending an email newsletter to a database of clients. Is there a script which will allow me to do this. I have read a lot about servers timing or my browser doing the same... if the script executes for too long. I am looking …

Member Avatar for lifeworks
0
171
Member Avatar for umandajayo

Hello Friends; I am working on a project which is auction site and it is actually clone of [B][url]www.swoop.com[/url][/B] this clone is developed on CakePHP platform and I have a issues there. I purchase that script from [url]http://www.moneymakersnetwork.info/products/Swoopo-Clone-PHP-Script.html[/url] and there is a demo [url]http://demo.bidscout.net[/url] username- demo password= password1 In that …

0
111
Member Avatar for CJX3711

I'm trying to send variables from a program in C++ to php for it to process. Then I want to be able to get the output of the php code. Is there any way to send variables from C++ to PHP and back? Maybe using something like POST variables? I …

Member Avatar for CJX3711
0
137
Member Avatar for QWaz

Hi, I am trying to set up a email reminder thing that sends a email to a user after 7 days then also after 6 or 12 months. Not sure if php can do this or where to even start. I know its possible, however is it a script that …

Member Avatar for chrishea
0
149
Member Avatar for metalix

I know I am probably missing something small but I can't seem to get it running I need to send an html email for newsletters and on registration But it needs to be authorised so it doesn't get marked as spam or filtered. here is what I have so far: …

0
171
Member Avatar for mmoalem

hi there all first - complete newbie here flying by the seat of my pants and learning php from scratch by diving into the deep end first... i got a database of music tracks in mysql - got a search form to search and display selected tracks and got an …

Member Avatar for mmoalem
0
129
Member Avatar for ceeandcee

Good afternoon, Instead of starting a new row every time I have new data, I want to simply put a line break. I have put in <br> but it makes the page too long as it yields a break each time and not just the times that it has data. …

Member Avatar for chrishea
0
262
Member Avatar for heshanm

Hi, The supervisor of my system wants to modify customer details. I created this modify_form.php page. But when i modifies one record of a particular customer it [B]affected to all the records[/B]. Therefore all the records contain same thing..... Can anyone give me the correct coding which modifies only that …

Member Avatar for hielo
0
133
Member Avatar for gchurch

just re-installed easyphp5.3.2 it seems i can't reach my mysql db to create one... keeps on givin me this error when i try ----------- ERROR 1045: Access denied for user: 'root@localhost' (Using password: yes) phpMyAdmin tried to connect to the MySQL server, and the server rejected the connection. You should …

Member Avatar for chrishea
0
400
Member Avatar for ceeandcee

Here is what I have [code] echo "<img src='/images/bar_".$row['teamA'].".jpg'>"; [/code] in this example teamA = irish What I want to output is <img src='/images/bar_irish.jpg'> I think it is a simple syntax. What am I missing?

Member Avatar for ceeandcee
0
136
Member Avatar for gchurch

i have a bookin system with a drop down menu for day, month, and year... i have validated them so as to alert the user when entering in past dates. however it still keeps the value of the past date instead of keepin the current date. this is a section …

0
52
Member Avatar for julzk

Hi, I am wanting to Calculate Hours & Minutes between two Dates/Time. I have four fields: ss_datestart, ss_dateend and ss_timestart and ss_timeend. I want to display the hours and minutes between two dates/times. Example: $ss_datestart $ss_timestart --- $ss_dateend $ss_timeend 05-12-2009 13:44:31 --- 05-12-2009 17:55:31 I want it to then display …

Member Avatar for kswsk
0
7K
Member Avatar for heshanm

Hi guys, This is very important. The supervisor of my system wants to close accounts which contain zero balances for long time periods. There is a separate page contains [B]ID and Account Number[/B].This is included in a form and a "close account" button is there. When he clicks on that …

0
76
Member Avatar for arctushar

Hi can anybody give me a better book name for php. which is simple, easy and short.

0
48
Member Avatar for arctushar

Hi I m using xampp latest version. I have a table created by phpmyadmin. Now I want to delete all data form the table, But dont want to drop the table. Problem is that... When I click oncheck_all it select all checkbox. but some row r yello background. When I …

Member Avatar for mwasif
0
62
Member Avatar for arctushar

Hello I m a civil engineer. I want to develop a site for civil engineering. But have no time for detailed level of php. Can anybody give the basic/ most important list of php function. I would be better if the list contain with examples.

Member Avatar for arctushar
-1
203
Member Avatar for sarithak

hi frnds, i m using [B]substr[/B] for same like in english font.but, now i m using [B]unicode(telugu,hindi)[/B]...i m not getting wat i want(no.of letters)...also some letters are missing in a string..like this(హమీద్* అన్సా�)... plz give some suggesions wat i need to do....

Member Avatar for mschroeder
0
146
Member Avatar for debbiec1

I have somehow corrupted the search facility, probably the most important page on my website and have absolutely no knowledge of php at all. I have gone through the code and read some forum advice in case it was something simple, but just cannot see what is wrong. I also …

Member Avatar for chrishea
0
111
Member Avatar for Acute

Hi everybody, Is it possible to give a property default value without using constructor?

Member Avatar for hielo
0
89
Member Avatar for muralibobby2015

hello... i have this array. $idratings[]=array($post->ID=>$caticons_ratings); [B]output:[/B] [CODE]Array ( [0] => Array ( [173] => 8 ) [1] => Array ( [170] => 9 ) [2] => Array ( [165] => 10 ) [3] => Array ( [161] => 6 ) [4] => Array ( [153] => 8 ) [5] …

Member Avatar for diafol
0
86
Member Avatar for akshayinbox

Hi. I thought I posted topic to an inappropriate forum. Please see the topic (and reply) here: [URL="http://www.daniweb.com/forums/thread307178.html"]http://www.daniweb.com/forums/thread307178.html[/URL] Thanks

Member Avatar for akshayinbox
0
113
Member Avatar for srdva59

hi, i looking for something like this [url]http://dhtmlx.com/docs/products/dhtmlxScheduler/index.shtml?mn[/url] this can´t work for me because i don´t have php5 this is a sheduler they have a free and comercial version i looking for a free solution if possible. this must save and load from a db thanks a lot for your …

Member Avatar for srdva59
0
65
Member Avatar for sugikrish

Hi frnds, I need display mysql field as check box value. <?php mysql_connect("localhost","root",""); mysql_select_db("postal") or die(mysql_error()); $query = mysql_query("SELECT name FROM register"); while ($row = mysql_fetch_assoc($query)) { $tag = $row['name']; echo "<input type='checkbox' name='register[]' [U]value='$tag'[/U] />\n"; } ?> here i paste my code here. it displayed only checkboxes. not value.any …

Member Avatar for hielo
0
50
Member Avatar for rajeesh_rsn

Hi, I am developing a login system in my web site I am using php and mysql. In this I want to add some creative user interface like... When user click on login link then a pop up ( not separate browser window , Just creating one with jquery ) …

0
53
Member Avatar for maestro2010

Hi i am new to this language and want some help on how code for playing media player or avi player using xml and php a web page along with full controls (forward,stop,pause,play etc). youtube vedios are easy to play on a web page using <embed></embed>

Member Avatar for 84hd0ns
0
112
Member Avatar for achiman

Please how can I store and retrieve an image using ms access database with PHP and display it in a browser.

0
40
Member Avatar for Kadafiz

[CODE=PHP]<select name="item8" id="item8" onchange="getPrice(this.id)" /> <option value="" >Select here</option> <?php $sql = "SELECT ItemID, ItemName, Price FROM itemavail ORDER BY ItemName"; $rs = mysql_query($sql); while($row = mysql_fetch_array($rs)) { echo "<option value=\"".$row['Price']."\">".$row['ItemName']."\n "; } ?> </span> </div> </select>[/CODE] im using this code to make selection field. Here i want to get …

Member Avatar for Kadafiz
0
180
Member Avatar for SunnySideUp

Hi, I am looking to be able to display errors from my forms or whether the email address is already taken on the same page. My script is shown below: [CODE] if(isset($_POST['subregister'])) { require_once('../sign-up/recaptchalib.php'); $privatekey = "Hidden"; $resp = recaptcha_check_answer ($privatekey, $_SERVER["REMOTE_ADDR"], $_POST["recaptcha_challenge_field"], $_POST["recaptcha_response_field"]); if (!$resp->is_valid) { // What happens …

Member Avatar for Stefano Mtangoo
0
161
Member Avatar for keavon

First of all, please check out my other post. [url]http://www.daniweb.com/forums/post1318472.html#post1318472[/url] Ok, hello everybody! I have a question that should be pretty simple. I have a php page that will send an email. I got that all working fine. [CODE] <?php $to = "reciever@example.com"; $subject = "Test Subject"; $body = "Test …

Member Avatar for keavon
0
1K
Member Avatar for jakesee

Hi, I am currently trying to do a website with both chinese and englis text, and I have problems displaying chinese text. I uploaded a set of identical website files to 2 different servers and domains, and one displays chinese character but has messed up layout, the other does not …

Member Avatar for jakesee
0
174
Member Avatar for ceeandcee

As you can see from this page: [url]http://www.cornwallfantasyhockey.com/cfhl/schedule3/[/url] I have created an output table of 11 players. I would now like to total the GP and PTS column. Here is what I have so far: any thoughts? [code] <?php $result = mysql_query("SELECT * FROM stats1011 where 1A = 'BULL' OR …

Member Avatar for ceeandcee
0
104
Member Avatar for newprimitive

Hello, In OOP PHP, i got 2 classes: Database and News. In News class i call DB function and get result (multidimensional 2D array). Now i have to display that array in index.php. I call News class (lets say get_news() function) from index.php but cant retrieve data and always get …

Member Avatar for Stefano Mtangoo
0
155

The End.