39,402 Topics

Member Avatar for
Member Avatar for kram54

hi my code is not working when to running .. it create to mysql files but ..not create to my table and it created to table 0 byte ... why ?[code]this is backup code :: <?php $backup=$_POST['text']; $host = 'localhost'; $user = 'root'; $pass = ''; $backupDir = 'c:\'; $backupFileName …

Member Avatar for kram54
0
95
Member Avatar for rutaba

i want to know tha is object oriented php is better or simple php? n which version of php is better yet easy to learn? how much is it different from normal structured php?

Member Avatar for Usernamex235
0
163
Member Avatar for whiteyoh

Hi All, I have 2 tables of data, 1 is countries and the other is provinces within those countries. My problem is that accents are showing up as special characters. eg. Trois Eveches is showing as Trois ?av?tmch?copys

Member Avatar for whiteyoh
0
65
Member Avatar for ismael ahm@d

Hello Everybody... From last three days i m posting my queries but no one take it seriously, please if u people dont mind than plz help me.... i m be very thankful in future. In my database i have 6 fields and through html form i requested only three of …

Member Avatar for ismael ahm@d
0
92
Member Avatar for vho123

Hi guys i have this small class task that i'm having trouble with. I need to create a PHP file using SAX to generate the display shown below from an XML file. *** This is the xml source code from which i need to generate the display: *** [CODE] <orders> …

0
52
Member Avatar for saji.ka

Dear All, I am new to PHP. I would like to include video (Flash Videos) in the website using PHP. Can u please help by giving the code. Saji

Member Avatar for MalikAamir
0
827
Member Avatar for furqan219

Its working PERFECTLY In IE6 But in Chrome Back Button is not Working. Code for Back button [CODE]<td><a href="lims_New_North.php"><img name="lims_pages_r5_c2" src="images/lims_pages_r5_c2.jpg" width="74" height="23" border="0" id="lims_pages_r5_c2" alt="" /></a></td>[/CODE] There is no Issue with Pagination above Back link not work in Google chrome but work in IE6 code Pagination [CODE=php]<?php /* Place …

0
121
Member Avatar for bsse007

i have a [B]sign up [/B]page. when user signup ,his data moves to database'table having 4 colomns.1 is of username,2 of password, 3 of email & last for title. when he signsup,a page [B]choice.html[/B] opens that offers to login now or later. if the user login at that time ,he …

Member Avatar for Horacio91
0
147
Member Avatar for jhbalaji

I have written a licensing system for my script and now i saved it an file called lic.php in the root folder I am going to encrypt that with ioncube when giving to a client side and i will simply include [CODE]include "lic.php" [/CODE] to call the licensing system But …

Member Avatar for diafol
0
155
Member Avatar for KBL

[ICODE]Hey I want when i click the submit button it runs a php script that then loads it to a local database where I can then use the entered data as a way for someone to login into the site but everytime i click the submit, it downloads the whole …

Member Avatar for diafol
0
3K
Member Avatar for kram54

hi everybody this project my graduate project pls help me .. i dont understand where is error and how to sending mail ?[code]mr.php------------- <html> <body> <table width="380" border="0" cellpadding="3" cellspacing="1" > <tr> <td width="33%"><strong>Enter your email : </strong></td> <td width="67%"><form name="form1" method="post" action="mm.php"> <input name="email_to" type="text" id="mail_to" size="25"> <input type="submit" …

Member Avatar for kram54
0
172
Member Avatar for LloydFarrell

Can someone tell me why I am unable to update a table in mysql using php with session data. First of all, I have done some reading around daniweb and Im not sure if i should be using UPDATE or INSERT to update the table. I have session_start(); at the …

Member Avatar for LloydFarrell
0
2K
Member Avatar for khaleel_rashid

I just want to create a max function in php. in this function i have to just write the table name and the columns name where i want to call the function and get the max values from the corresponding column of that table PHP Code: [CODE]function max1($column_name, $table_name) { …

0
58
Member Avatar for .watts.

Hello all, I've made my first wordpress theme from scratch and as expected I'm running into some trouble getting it to function. Here's the error message: Parse error: syntax error, unexpected $end in /home/seve4033/public_html/blog/wp-content/themes/sevensharks/footer.php on line 35 ...line 35 is </html> so I'm lost as to what is unexpected. If …

Member Avatar for chrishea
0
174
Member Avatar for psank

Hello everyone, I am new to this forum. It would be a real help if someone could help me out for a problem I'm in from last 5 days. I am using TCPDF for generating PDF on the fly in php. I am using php5.2.6. I am using Multicell function …

0
61
Member Avatar for nadskap2

Hey there... I got a website which i want to work properly... But i cant make it work properly without image popup working properly... PHP and HTML code: [code] <?php if ($handle = opendir('./bsbilleder')) { while (false !== ($file = readdir($handle))) { if(substr($file, 0, 1) != ".") { $bspic = …

0
81
Member Avatar for hno

HI every one I have tried 3 wysiwyg for my php web site , like ckeditor and openwysiwyg . I'm using the latest version but they have some problems and they didn't work good . I want a simple and good wysiwyg editor . What do you suggest ? thanks

Member Avatar for diafol
0
68
Member Avatar for Olliepop

Hey guys So at the moment i'm making an online strategy game a bit like tribalwars.net. I'm having a problem with building construction, unit recruitment, travel times etc. For example.. When a user clicks "build" for a building, the building will be added to a queue and will be completed …

Member Avatar for diafol
0
96
Member Avatar for WargRider

Hello everyone, so I am going to be developing a website for a friend of mine. He owns this business that allows people to come to his store, pay 20 dollars and play some games. He wants on his website, a paying system, where users can pay 15$ instead of …

Member Avatar for WargRider
0
77
Member Avatar for ismael ahm@d

*********test.php************** ****************************** <form action="/forums/test_records.php" method="post" name="test" id="test"> <table width="385" border="1" align="center"> <tr> <td width="120">Date: </td> <td width="249"><?PHP echo date("Y-m-d");?></td> </tr> <tr> <td>Particulars:</td> <td><input name="Particulars" type="text" size="40"></td> </tr> <tr> <td>Debit:</td> <td><input name="Debit" type="text" size="40"></td> </tr> <tr> <td>Credit:</td> <td><input name="Credit" type="text" size="40"></td> </tr> <tr> <td colspan="2"><div align="center"> <input type="submit" name="Submit" value="Submit"> </div></td> …

Member Avatar for jayreis
0
297
Member Avatar for GeoffC

I have a parent table and a child table linked with an Id. The child table has two fields - ch_id and item. The parent table has a field which stores the value of ch_id for that row. I have set up a php script to generate a selection list …

Member Avatar for GeoffC
0
83
Member Avatar for Littlemanz

Hi I am from the UK and have been a keen web enthusiast for the past 5 years with a semi break of a few years,I am self taught and run a couple of websites [url snipped] is one and [url snipped] is another i am currently finishing them both …

Member Avatar for maceman
0
177
Member Avatar for Olsi009

Hey ppl, I have this assignment at school, where they asked me to create a simple site for uploading and watching videos. I must use PHP, Oracle (ORDVideo precisely), but I don't have much info online. Anyone can point me in the right direction? I am using ADOdb to connect …

Member Avatar for andygeurero
0
69
Member Avatar for Davife

I have a site which maintains a local message database and addressbook. What I would like to do is the following: When a user contacts another user a record of that message is stored in the message database and an email is also sent to that user. Any response to …

Member Avatar for digital-ether
0
117
Member Avatar for realnsleo

Hi everyone!!!! i have a problem with storing session variables from a file called through ajax. i have a page with a form which i submit using ajax. the page is called add.php, when you hit submit, the form is sent using $(post) to a file called addaction.php where i …

Member Avatar for chrishea
0
80
Member Avatar for borntowin_786
Member Avatar for nadskap2

Hey... I've got some problems with jQuery. Code: jQuery: [code] <script type="text/javascript" src="jquery.js"></script> <script type="text/javascript"> $(document).ready(function(){ $(".bspicdiv").animate({height:0},"fast"); $(".bspicdiv").animate({width:0},"fast"); $(".bspic").click(function(){ $("#box").animate({height:500},"fast"); $("#box").animate({width:500},"fast"); $(".bspicclose").click(function(){ $(".bspicdiv").animate({height:0},"fast"); $(".bspicdiv").animate({width:0},"fast"); }); }); }); </script> [/code] PHP/HTML: [code] echo "<a class=\"bspic\" href=\"#\"><img border=\"0\" src=\"./bsbilleder/".$file."\" height=\"80\" width=\"80\" /></a>"; echo "<div class=\"bspicdiv\"><a href=\"#\" class=\"bspicclose\"><img border=\"0\" src=\"./bsbilleder/".$file."\" height=\"450px\" width=\"450px\" /></a></div>"; …

0
69
Member Avatar for nadskap2

Hello there members of DaniWeb :) Im making a website for my father but suddenly an error came up :( Error: Parse error: syntax error, unexpected '(' on line 44 Code: $first = true; $include_file = "./inc/acp.php"; foreach($_GET as $key => $value) { $include_file .= (($first)?("?")("&")) . $key . "=" …

Member Avatar for almostbob
0
79
Member Avatar for Deey

hello. i have a code that looks like this: [CODE]$localdir = 'C:/somedir'; $dh = opendir($localdir); echo '<table><form method="post" action=""><input type="submit" value="Add checked" name="doneA" />'; while(($files = readdir($dh)) != false) { if ($files != "." && $files != "..") { echo '<tr><td><input type="checkbox" name="' . $files . '" /></td><td>' . $files …

Member Avatar for Deey
1
101
Member Avatar for koxy911

Hi all! I need some help. What I need is, to make a listbox, and fill it from a mysql database, which contains users from my website. The idea was, to select two or more users from that listbox, and after hitting a submit button, I would see the comments …

Member Avatar for koxy911
0
147
Member Avatar for linuxoidoz

Hi, I'm trying to make a custom search form in Concrete5 CMS. Without any help on their forums, I thought I could make a workaround for now. From what I understand, I can make a search form with an input field <input name='query' value='' /> which works absolutely fine, and …

0
71
Member Avatar for paragouldgamer

I was wondering if there was a contains word to use with a mysql query, my current query is : //$query="SELECT * FROM $table WHERE date = '$selecteddate' AND Style = '$selectedstyle' AND Platform = '$selectedplatform'"; but the $selectedplatform isn't always the only thing in the Platform column, I just …

Member Avatar for shekar.bdn
0
86
Member Avatar for CFROG

All arguments aside from using $html->tag() instead of <tag> ... I'm a trying to create a table to display photos I'm pulling from the database and something is amiss. When I was testing this I changed $num_cols to 2 and it ended the row and started a new one after …

Member Avatar for CFROG
0
104
Member Avatar for muralibobby2015

hello.... it could be interesting.......my frnd asked a question to me...on if else condition. for suppose... [ICODE] <?php if(Condition) { echo "hello"; } else { echo "world"; } [/ICODE] it is the question. she asked me how to write condition for print hello world.

Member Avatar for mrnutty
0
86
Member Avatar for Roses89

Hey guys, Im new to php and i have been given a question which i dont understand: --Create a PHP page that will display the content of each of the fields of the customer table of the warehouse database. Save the file as task3.php.The following code will be helpful (you …

Member Avatar for Roses89
0
2K
Member Avatar for Th3nutz
Member Avatar for Chosen13
0
111
Member Avatar for Linlin

Hello! I'd like to ask a question, and I guess the simplest way to explain what I want is to simply show you the [URL="http://lace.forthesky.org/wardrobe/angelicpretty/op"]page[/URL]. See the sort by list? I simply want to sort the entries by year, which I did succeed with, in a way. The problem is …

Member Avatar for Linlin
0
726
Member Avatar for delpi767

I'm new to PHP and trying to learn a bit about classes. In most languages if a class member is private, it is accessed through a property which itself has an accessor. So there is a separate accessor for each property It appears in PHP that the __set accessor is …

Member Avatar for sergb
0
93
Member Avatar for mverma

Hi all i am newbie in PHP I would like to learn how to create simple admin panel via PHP if possible pls help me i am very in need of this script with explanation Thans beforehands

Member Avatar for drjohn
-1
51
Member Avatar for andydeans

Hi, I was wondering if some of you guys could give me some advice. I have a normally setup websites for clients on a reseller account from a hosting company. However I was looking at setting up my own PHP/MYSQL server in a new office. We are looking at business …

Member Avatar for HITMANOF44th
0
109
Member Avatar for eagled2

I am creating a page of articles for a site i'm working on. The current page i'm creating needs a list of articles by date. I want to have it list the year the article was posted as a header then list only the entries for that year underneath. I …

Member Avatar for eagled2
0
141
Member Avatar for smoh

I'm having a hard time getting this to work! I currently have 3 dropdowns. The 1st one will open up the 2nd 3rd ones. The 2nd one has just 1 value and the 3rd one has about 60 values the user can choose from. Then they fill in a text …

Member Avatar for smoh
0
771
Member Avatar for gumby64

I am trying to create an email form that allows the user to subscribe or unsubscribe to an email list. It goes bad at line 25. This is what I have so far: I can not figure out how to write the unsubscribe part. I used if/elseif/else: 1 <?php 2 …

Member Avatar for gumby64
0
133
Member Avatar for it200219

Hi Guys, I need your help. I have fedex address validation code downloaded from FedEx. The code works fine at this moment. Have you implemented the code in such a way so that it will tell you exact error / problem in validating address. Like, Invaid home address Block number …

0
82
Member Avatar for ripraw

i need help :( i'm trying to create an external menu with rollover images i'm using php include() the javascript for the rollover images is written into the <head> of every page and the included file contains the revelant html.... .... the rollover doesnt work. it says 'done, but with …

0
75
Member Avatar for spivey

I have built a mobile website that searches my library's online catalog. Most things work fine, but I am hung up on multiple page results. For instance, if you search the catalog for "The Beatles" ([URL="http://bit.ly/cl2RkN"]http://bit.ly/cl2RkN[/URL]), I can't provide access to the second and third page, or get the results …

Member Avatar for spivey
0
90
Member Avatar for A_Dubbs

Hey everyone. I am looking to get some books to help further my education on web development. The difficult thing is finding one that suits me. I know the "basics" of programming (strings, lists, arrays, variables, classes, functions, etc) and so a book that is three-quarters full of basic programming …

Member Avatar for delpi767
-2
122
Member Avatar for atullalit91

Let see, who will solve this problem before i can... Problem is that values are getting update but in response, it is not showing the update values back on page. [CODE]<strong>Update multiple rows in mysql</strong><br> <?php $host="localhost"; // Host name $username="root"; // Mysql username $password=""; // Mysql password $db_name="newdb"; // …

Member Avatar for atullalit91
0
99
Member Avatar for ramalc

I am beginner php programmer.How can i create dynamic link without using database in php page. For example I have creat a form. When user enter the data and click submit. I want to display submit page in same page. My form page is: [url]www.mysite.com/form.php[/url] and i want to create …

Member Avatar for ramalc
0
165
Member Avatar for niths

hi all, i had done a logout page. so wen we click on logout i am getting out but wen i click on back button i am again going to my account. so wat can i do..any idea...? thank u.. ---logout.php---- [CODE]<?php ob_start(); @session_start(); require_once ("check.php"); session_destroy(); echo "<strong style='color:#FF3333'>"."<left><h1>Successfully …

Member Avatar for nonshatter
0
84

The End.