39,392 Topics

Member Avatar for
Member Avatar for sagedavis

I know, this is a weird question, but... I am working right now on an inherited project, and finding this quite a bit. [code] $objSomething -> $object [/code] I have had it explained to me that this is similar to the dot in javascript's [code] element.style [/code] This concept in …

Member Avatar for sagedavis
0
111
Member Avatar for welbyobeng

I attached the 2 script I have a script that retrieves a file from my database with an option of providing a path Now the appendPath Will "tack on" the contents of appendPath to the front of the file name. For example, :if appendPath is set to: $appendPath = 'http://www/path/to/'; …

Member Avatar for welbyobeng
0
125
Member Avatar for naju

when i insert a image from tinymce, it sets default to 550px X 550px from where can i change these default setting in tinymce ------------------------------------------------------- Sorry guys it might relate to php ... but actually i've problem with tinymce WYISWYG during my php site

0
66
Member Avatar for forzadraco

Helo... Thanks for read my thread... i have problem to make a web page like my.yahoo.com where a news click, a new pop-up window show and the web-page(background) become more darker and pop-up window willbe focuss... Anyone can help me...? Thanks, Ardy Satria H [email]forzadraco@gmail.com[/email]

Member Avatar for forzadraco
0
89
Member Avatar for naju

I have a string in my database as [B]in' out"[/B] now i need to show this in input textbox i did <input value='in' out"'> output only: in also <input value="in' out""> output only: in' out the real output should be in' out" Actually i need to do like this encode …

Member Avatar for naju
0
81
Member Avatar for lydia21

hi i have a form where the user will giva a key word ...based on the keyword i wabt the user to fetch all the rows in the table

Member Avatar for nav33n
0
67
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
87
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
75
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
118
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
102
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
118
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
104
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
598
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
386
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
166
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
112
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
76
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
62
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
142
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
79
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
44
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
213
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
94
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
73
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
243
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
130
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
75

The End.