39,326 Topics

Member Avatar for
Member Avatar for banarabbyt

Hi all, I saw your guys site while browsing forums for help and you guys seem most knowledgeable. Here is my problem, I just uploaded some script to a site of mine, and now I'm getting this error message: Parse error: syntax error, unexpected T_LNUMBER, expecting '{' in /home/mickeylo/public_html/index.php on …

Member Avatar for banarabbyt
0
117
Member Avatar for naju

i need to have null date from php and send to mysql how to make a null date so that i could insert it the database it should be in the format '00-00-0000';

Member Avatar for ryan_vietnow
0
84
Member Avatar for dami06

Could someone please tell me how to change a text format in php for example if have a question like this in your code: Which of the following form element names can be used to create an array in PHP? [B] foo [foo] foo[] foo[bar] [/B] How do you change …

Member Avatar for petr.pavel
0
73
Member Avatar for Fasola

Its been a while but I need your help on this one Daniweb...I am creating request forms (i.e. Conference from Reservation Request, Software & Hardware Installation requests, Network Access Request, etc.) Forms using Code 5 System ([url]www.code5systems.com):[/url] 1. I have a form for Conference Room Reservations. There are 6 conference …

Member Avatar for petr.pavel
0
117
Member Avatar for myth3_16

[CODE]<? $username="*************"; $password="***************"; $database="****************"; mysql_connect("***************",$username,$password); @mysql_select_db($database) or die( "Unable to select database"); $query="SELECT product_name, url FROM product WHERE product_name like 'Day You Were%' group by product_name order by product_name"; echo "<form action=\"https://www.paypal.com/cgi-bin/webscr\" target=\"paypal\" name=\"mygallery\" method=\"post\">"; /* You can add order by clause to the sql statement if the names are …

Member Avatar for petr.pavel
0
101
Member Avatar for nick1981

Can someone help me? I have a enquete script with checkbox answers for question when more than one anwer can be choisen but de script will only write de latest answer to my txt file. Can someone help me? This is the first time i work with PHP. <?php # …

Member Avatar for petr.pavel
0
107
Member Avatar for cancer10

If you have a column, of data type = INT, with the following numbers as separate rows. 1 3 4 5 7 10 How can you write a sql statement where you can calculate the nearest number to any give input. Example , if the input is 9 ? (the …

Member Avatar for petr.pavel
0
117
Member Avatar for gurusundar

When i log on to my site and click a link in it. It is logging out automatically. [url]http://thelittleguynetwork.com/index.php[/url] username: demo and Password: demo can any one say me what may be wrong with this site. Please reply me.

Member Avatar for Designer_101
0
102
Member Avatar for Scottmandoo

Alright this is my code, the error im getting is in red [CODE]<?php include("dbinfo.inc.php"); $tut_name = $_POST['tut_name']; $tut_link = $_POST['tut_link']; $tut_program = $_POST['tut_program']; $tut_category = $_POST['tut_category']; $tut_video = $_POST['tut_video']; $tut_download = $_POST['tut_download']; $tut_image = $_FILES['tut_image']['name']; function getExtension($str) { $i = strrpos($str,"."); if (!$i) { return ""; } $l = strlen($str) …

Member Avatar for Scottmandoo
0
83
Member Avatar for hyperoctave

I will start this thread with a problem that I am trying to solve. I have searched for a solution, and can't find one, and daniweb.com users have been a great help in the past. This is a tricky one for me.. I hope we can find a solution. All …

Member Avatar for hyperoctave
0
597
Member Avatar for mallikarjun

mysql4.X is installed on my system.while i tried to install Phpbb forums in my personal computer it is giving the following error: Warning: mysql_connect(): Client does not support authentication protocol requested by server; consider upgrading MySQL client in C:\Program Files\Apache Group\Apache2\htdocs\phpBB2\db\mysql4.php on line 48 Warning: mysql_error(): supplied argument is not …

Member Avatar for jayjaygibbs
0
382
Member Avatar for OmniX

I have a page that allows you to add images to the server. As of course you are able to add them to the server you should be able to delete them. Now the problem I have is that. I cannot delete the folder if there are contents in it. …

Member Avatar for OmniX
0
165
Member Avatar for lordx78

[code=php] echo "<td align=center style='width: 30px'><strong><a href='' . $link1 . '' style='color: red'>CID</a></strong></td>"; [/code] Is this part properly coded [code=php] <a href='' . $link1 . '' style='color: red'> [/code] I tried like [code=php] <a href="' . $link1 . '" style='color: red'> [/code] but not working. Pls advise.

Member Avatar for lordx78
0
110
Member Avatar for kilastrosare

Hi all, Does any one know of any good web development team for web 2.0 and ecommerce? If you have any idea so please let me know. Any help will be greatly appreciated. Thanks!

Member Avatar for lamashi
0
74
Member Avatar for OmniX

I require to refer to a Variable through the use of a variable is this possible? Thankyou Regards, X

Member Avatar for OmniX
0
60
Member Avatar for bornok15

I want to write a code that will view all the records within a table and assign a checkbox for each record.. the check box will be used for deleting the records just like in emails. can anyone help me on this?

Member Avatar for somedude3488
0
139
Member Avatar for lonestar23

Can not get the following code to delete Jack.... What is wrong with the code? <?php ===QueryString=== delete.php?q=169|170|171| $arr = explode('|', $q); for ($i = 0; $i < count($arr); $i++) { $query .= "DELETE FROM aCar WHERE aID = '".$arr[i]."'"; $result =mysql_query($query); } ?> Thanks in Advance!

Member Avatar for somedude3488
0
77
Member Avatar for julichrist

is it possible let php run under python?? since i really don't understand how to connect database using odbc with python... what i mean is... can i call php file from python? can anyone help? i have tried in the url call setting.php but my php code can't run...

0
41
Member Avatar for dami06

Hi There, I am trying to get the information that i have put in the database to be displayed on the screen but i am getting this error Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in C:\xampp\htdocs\capat\result.php on line 44 The error doesn't seem to go …

Member Avatar for dami06
0
212
Member Avatar for lordx78

[code=php] <?php // auth.php // start session session_start(); // convert username and password from _POST or _SESSION if($_POST){ $_SESSION['username']=$_POST["username"]; $_SESSION['password']=$_POST["password"]; } // query for a user/pass match $result=mysql_query("select * from users where username='" . $_SESSION['username'] . "' and password='" . $_SESSION['password'] . "'"); // retrieve number of rows resulted $num=mysql_num_rows($result); …

Member Avatar for lordx78
0
92
Member Avatar for jino

I want to pass the below string through a url.... It is the result of a search query... $query_string=reg_personal.personal_sex='Male' AND reg_personal.personal_matrital_status = 'Single' I had used this statement <a href='{$_SERVER['PHP_SELF']}?pageno=1&query_string='.$query_string1.'>FIRST</a> for passing the $query_string variable via the url .... But i am not getting the 'Male' part after the equal(=) …

Member Avatar for buddylee17
0
71
Member Avatar for dami06

I'm trying to input an image in a code i have but i tried using the html way which is [code=html]<td><a href="<?php echo $section_link[1]; ?>"><img src="../images/icons/graph.gif" width="32" height="32" alt="" /></a></td> [/code] But it doesn't seem to show the code in the page..How do i do this please HELPPP!!!!

Member Avatar for dami06
0
242
Member Avatar for bornok15

I've been working with a PHP site and below is the code for my index page.. how can i check the data first before going to POST? can i do it with a javascript? if the textboxes are blank it will not POST and just give a message.. and How …

Member Avatar for bornok15
0
129
Member Avatar for sangeetha.n

How to implement a digital library for my web site..can anyone help me

Member Avatar for sangeetha.n
0
74
Member Avatar for kings

hi i have two mail function in my page.when a aggrement is signed ,mail will be sent to both the clients. Error: when there is some problem in sending mail to one client the mail is getting delievered another client.if there is a problem i want to stop sending to …

Member Avatar for ryan_vietnow
0
54
Member Avatar for justted

Hello everyone, I have been learning how to code a simple message board (or 'forum') and have really been proud of what Ive achieved so far. However, I want to include these message boards in my online community but currently members will have to add their name as a field …

Member Avatar for justted
0
265
Member Avatar for hungnguyen
Member Avatar for hungnguyen
0
53
Member Avatar for foundsheep

My form was working fine in the past, and now it is not. I'm not sure why. I've been through the code several times and have yet to find anything. The form posts with the general error that is in the code. So, something is breaking, but I'm not sure …

Member Avatar for foundsheep
0
116
Member Avatar for nathanpacker

Hey, I've got some values that don't seem to be calculating correctly. I've got two numbers, subtracting one from another, and instead of the answer being an exact number, like .06, it's coming out as like .0599999999. For some background, I'm working with monetary values, and since I'm so new …

Member Avatar for nathanpacker
0
240
Member Avatar for JuliaT

Hi there, (is this the right forum for this? If not, a moderator could move it it would be really appreciated) I'm looking for a programmer who'd be interested in programming from the ground up a online simulation game like those such as [link], [link], [link], etc. Concepts are simple, …

Member Avatar for Auzzie
0
115

The End.