39,402 Topics

Member Avatar for
Member Avatar for softx

I would like to make a tree menu with category and sub category in Php. When i click on category then display subcategory with link that subcategory page. it is with mysql database. I m tiered to make this but i can't. Please help me. I m providing a Example....... …

Member Avatar for vitana
0
324
Member Avatar for rukshilag

working on a form to update particular user details if required. as you can see there is also a print button. i want to know how i can print out the div=formData if print button is clicked. according to my current code when print is pressed the whole form itself …

Member Avatar for vitana
0
160
Member Avatar for stu9954

I have started to code a website with a simple PHP dynamic page. I am getting a error message on the homepage "Notice: Undefined index: page in C:\w\www\index.php on line 26". However the page does come up underneath the error. Can some one please take a look at the code …

Member Avatar for rajarajan2017
0
108
Member Avatar for Venom Rush

Hi all I'm having the most frustrating time trying to select data from two different tables that relate to each other. I have a database that has the following tables: [B]images[/B], [B]gallery[/B], [B]categories[/B], [B]news[/B] ([B]news[/B] is somewhat irrelevant to my current problem) The [B]gallery[/B] table has the following columns: [QUOTE]_____________________ …

Member Avatar for Venom Rush
0
124
Member Avatar for itisnot_me

hey all, i know in this day and age tech it linked with each other. is there a way to send faxes and receive faxes just using php. or if there is a service what is the cheapest. what i would need to do is have a system set up …

Member Avatar for sophiagregs
0
148
Member Avatar for Molinski

I am new to most the web programming experience and I have a php page (lets call it form.php for brevity) that posts some form information (including an attachment) to another php file that validates organizes the information (which I will call sendMail.php) and then mails it to the destination. …

Member Avatar for Molinski
0
405
Member Avatar for futhonguy

Hi, i am trying to extract number out from a text which i grab from the database. [B]EG: ACK9734N[/B], I would like to extract just the number [B]9724[/B] from the text, how can i do so? i understand about using preg_match() but when i tried to do that, the number …

Member Avatar for futhonguy
0
101
Member Avatar for atzaman

Hi In desperate need of some help! I'm having trouble with a mod I'm make on the threadbit template. I'd like to add some additional information from new columns added to the thread table which will show on forumdisplay. To do this I need to use the threadid in the …

Member Avatar for atzaman
0
235
Member Avatar for Raka0

[CODE]<input type="checkbox" name="opid[]" id="<?php echo $row['opid'];?>"value="<?php echo $row['opid'];?>"value="<?php echo $_POST['opid'];?>" /> <label for = "<?php echo $row['opid'];?>"></label> <?php $opid= $_POST['opid']; $opids =""; foreach ($_POST['opid'] as $opid ) $opids.=((int)$opid)."," ; $opids=substr($opids,0,-1); $sql="DELETE FROM opentopic WHERE opid IN ($opids)"; $res = mysql_query($sql) or die(mysql_error() ) ; ?>[/CODE] Hi, I used the above …

Member Avatar for LethargicCoder
0
77
Member Avatar for TheVendor

Hello, I'm new at php. I have this simple problem I can't figure out. So I have the variable $name and I want the name to appear on a page plus be linkable. But the link has use the variable.. like this: http://www.website.com/$name And also I only want $name to …

Member Avatar for TheVendor
0
108
Member Avatar for capoon

Good day Experts ,this form displays error as shown below [CODE] Warning: mail() [function.mail]: Failed to connect to mailserver at "localhost" port 25, verify your "SMTP" and "smtp_port" setting in php.ini or use ini_set() in C:\Tomcat 6.0\webapps\fphp\email-contact\send_contact.php on line 15 ERROR [/CODE] the code is as follow [CODE] ---------------------contact.php------------------- <table …

Member Avatar for capoon
0
187
Member Avatar for Elemen7s

Hi all, I am doing a website which will have a large amount of files uploaded to it which only the admin will upload files to it, users can't. I split the template in parts, the banner in its own .php file, the navigation bar in its own and so …

Member Avatar for Elemen7s
0
329
Member Avatar for nonshatter

Hey guys, I am really close with this but can't quite get it right... All I am trying to do is retrieve the users details based on their 'u_id' and display them. [CODE] <?php require ('dbconnect.php'); $user = $_SESSION['username']; //Get the users username $requestuid = mysql_query("SELECT u_id FROM user_usr WHERE …

Member Avatar for nonshatter
0
83
Member Avatar for rizwan6feb

I am working on an application in Vb.NET the pulls data from an online MySQL server. The problem i was facing was that my application had no direct access to internet. The application connects to a proxy server which was blocking access to database server because the proxy server only …

Member Avatar for nik00726
0
1K
Member Avatar for gunnarflax

Hi! I'm currently using Dreamweaver as my code editor for web development but I'm considering using open source applications instead. I've always supported open source development and let's face it, Adobe's programs costs a whole lot. So I read about using Eclipse for web development and did some searching and …

Member Avatar for gunnarflax
0
162
Member Avatar for rahul8590

i was just trying the new DBMS , herd it was kinda faster than MySql in some case. the below is the code i have taken (Standard example) and still i am getting error. [code] <?php // create new database (OO interface) $db = new SQLiteDatabase("db.sqlite"); // create table foo …

Member Avatar for jmoli
0
160
Member Avatar for woss

Hi all, Can anyone please help me about this problem? I want to upload file from one server to another using some sort of php class or some another PEAR file? For now I have downloaded pear file from pear.php.net. It works great but when I want to send files …

Member Avatar for i-ensan
0
84
Member Avatar for julio gomez

Hi, I am using a PHP parser to extract some contents from a RSS feed. The parser used to work just fine, but when I changed my hosting the parser stopped working and now it shows the following error: XML Error: not well-formed (invalid token) at line 11 The XML …

Member Avatar for julio gomez
0
214
Member Avatar for alokas88

Hi, I want to display a form in php..i hav this variable called $fields if($fields==1){ I want to print 1 text box} if($fields==2){ I want to print 2 text boxes and so on} The whole thing should be submitted to an action.php page how can i do dat in php??

Member Avatar for rajarajan2017
0
56
Member Avatar for alokas88

Hii, I am working on a php-mysql GUI..MY problem is iam asking the user to input the number of fields he wants on his new table.According to the number inputted dat many number of text boxes should come on the screen .How can i do this ?Is there any way …

Member Avatar for rajarajan2017
0
122
Member Avatar for caro88

Can anyone help?? I want to 2 sql command in a php file. The query is run in the search book, i want the query to get info from the loan table, if this table is empty then to display the details in the book table? Please help!!

Member Avatar for liamfriel
0
63
Member Avatar for AmieFeetandToes

Hello Everyone! I am working on a search form in PHP for a client's website. So everything works, the search brings results. What I am wanting to accomplish now is to be able to search more than one field, specifically first name and last name. Let's say if a user …

Member Avatar for colweb
0
191
Member Avatar for feroz28

I posted the same type of question for my one another jobs related site but still I have not got any solution. Now I have made one more jobs site and having the same issue so still looking for solution. I am using wordpress at [url]http://accounting-jobs-michigan.com[/url]. I am using permalinks …

Member Avatar for feroz28
0
70
Member Avatar for JerieLsky

Hi, im working on some project on php with mysql, and I'm only actually a beginner in programming with php and mysql. I created a table in mysql which contains several records. I have like 10 records in it. Now what I want to do is I only want to …

Member Avatar for rajarajan2017
0
113
Member Avatar for Explosivo22

I have a web page that has a folder on it say "folder1" that contains powerpoint files(.ppt). What i want to do is make a search box for someone to be able to enter say a specific name of a file and then when they hit submit it will search …

Member Avatar for rajarajan2017
0
74
Member Avatar for adsegzy

Hello friends, I have a html form saved as join.html as below [code] <form id="form1" name="form1" method="post" action="check.php"> Name: <label> <input name="name" type="text" id="name" /> </label> <p>Email: <label> <input name="email" type="text" id="email" /> </label> </p> <p> <label> <input type="submit" name="Submit" value="Submit" /> </label> </p> </form> [/code] and a php file …

Member Avatar for rajarajan2017
0
160
Member Avatar for juan83

Hi, Im new in this programming world. Here is my problem: I need to display result of which I need to show location and gred using colors. For example for total staff the color will be blue and green color for available post. Below is my coding but it will …

Member Avatar for rajarajan2017
0
63
Member Avatar for ElegantElephant

Is it possible to use PHP and a mysql query combined to allow a whole database backup file to be downloaded? For example, I'm currently backup up my database by using the export tool in phpmyadmin, but what if I wanted to add a button or link on my site …

Member Avatar for diafol
0
182
Member Avatar for jvestby

Hello Today is the first of february and I noticed a bug in my coding. I use the php date function to give me todays date in an european style: 010210 I then insert this date to a mysql table. The problem is that the date after being inserted is …

Member Avatar for njm5785
0
78
Member Avatar for mission_PHP

I have been working on this for 2 days now. I have a form with a text box that allows 180 characters, if a user types in something with no spaces it wrecks my site since there is no space for the text to wrap in the table cell when …

Member Avatar for mission_PHP
0
182
Member Avatar for Tigermes

Guys, Appreciate if anybody can help me. I have a send_mail.php on my site that works great. The point is that I want a copy of all sending emails to be redirected also in one of my postbox. I need this to track what is going on, and what kind …

Member Avatar for mmartinho
0
162
Member Avatar for adsegzy

Hello friends, I have a membership site where members will submit their data and choose a template to display their information. On this site, I want each member to have his own subdomain (eg membername.mysite.com) whereby anybody that enter the subdomain into the address bar will be directed to the …

Member Avatar for tdhprestatyn
0
93
Member Avatar for seularts
Member Avatar for inetsubscriptio

I am breaking my brains for 3 days already on this. I read a lot on different web sites (so please do not have an impression that I am being lazy), I do not understand how to make it using php - in my case I use the name process.php …

Member Avatar for fobos
0
218
Member Avatar for sledge4

Here is my query, it works as coded, but it's not exactly what I am looking for output wise. <?php $result = mysql_query("SELECT racesforweek.racetype, racesforweek.racename, dynamicactivehorse.tOwner, left(Entries.RaceID, 4) As Race1, RIGHT(Entries.RaceID, 4) As Race2, Entries.HorseID, entries.Odds, retired.HorseName FROM (dynamicactivehorse INNER JOIN (retired INNER JOIN Entries ON retired.ID = Entries.RealHorseID) ON …

Member Avatar for Fbody
0
95
Member Avatar for Justme24

Hello, is it possible to convert a text string into a image (with GD) and use for the font color an image (texture) and make the background transparent? Thnaks in advance.

Member Avatar for Froger93
0
69
Member Avatar for smush

Hi everybody, I'm having some difficulties with mysql_num_rows( ) on line 26. I keep getting a warning that the supplied argument is not a valid MySQL result resource. What does that even mean!? I get the same warning on line 51. Can somebody fill me in on why this comes …

Member Avatar for Froger93
0
154
Member Avatar for rahul8590

How to restrict the size of image thats to be uploaded . I am creating a small social network and have space constraints . So , i dont want to restrict the image size to be confined to certain limit.

Member Avatar for Froger93
0
165
Member Avatar for niths

hi all, i am allocating some memory for projects. if any one add a project and if its memory is greater than allocated memory, then the project should not add. so please help me. Thank u. [CODE]<script language="javascript" type="text/javascript"> window.close(); </script> <?php $id=$_GET['f1']; @session_start(); require_once ("check.php"); createsessions($username,$password,$userid,$projectid,$projectname,$filename,$size,$allocatedmemory,$answer,$usedmemory); $con=mysql_connect("10.70.1.50","invensis","invensis"); if(!$con) { …

Member Avatar for pclfw
0
56
Member Avatar for SKANK!!!!!

[CODE]$dir = opendir ($path); while (false !== ($file = readdir($dir))) { if (strpos($file, '.png',1)) { echo "$file <br />"; } } [/CODE] super short code that lists the .png filenames obviously the $path variable is the path to the directory. how can i list them instead in abc order cause …

Member Avatar for mschroeder
0
172
Member Avatar for hmortensen

hi all, I'm new to PHP and Java script, but would like to get som experience with em'. Im trying to make a search for a dropdown list, but it doesnt work? It is based heavily on this code [url]http://www.rgagnon.com/jsdetails/js-0089.html[/url] (wich works fine?) I have testet to see if the …

Member Avatar for hmortensen
0
138
Member Avatar for EvilOrange

I'm sure this has been asked before but I searched to no avail. I'm very pleased that Apple include Apache2 and PHP in all their builds but the fact they don't include GD, PDO_mysql and mcrypt (among others) isn't so great. I had this sorted until a recent update by …

0
70
Member Avatar for softx

i m a beginner in Php. Please help me to open link in new window. code is [code] <?php require("connect.php"); $album =mysql_query("SELECT * FROM albums"); echo "<table width='22%'>"; while ($row = mysql_fetch_assoc($album)) { echo " <tr> <td> <img src='images/".$row['cover']."' width='100%' height='100%'> </td> <td> <b>".$row['name']."</b><br> ".$row['description']." </td> </tr> "; } echo …

Member Avatar for colweb
-1
142
Member Avatar for adsegzy

Hello Fellas, Am designing a sign and there is a page (INVITE FRIENDS) where members can invite there friends. All the member has to do is just to enter the friends name and email into the form and click invite. the form is below; [CODE]<form id="form1" name="form1" method="post" action="<?php echo …

Member Avatar for karuppasamy
0
109
Member Avatar for lifeworks

Hi I wasnt sure where to stick this, so Im asking this crowd I am putting together a website which works on an MVC principle, my own framework, and need some help with the .htaccess file. Specifically, if I want to make a pdf available for download, my url parser …

Member Avatar for lifeworks
0
6K
Member Avatar for michael123

Is there php function to remove the space inside the string? for example: $abcd="this is a test" I want to get the string: $abcd="thisisatest" How to do that? thanks.

Member Avatar for bhebs_quines
0
4K
Member Avatar for Pityu

Hey guys, I have a question: So... I want to do a product page with new product, edit product and delete product feature. While I'm on the modify or the deletion page, I would like to and [B]categorise [/B]by [B]date[/B]-desc, asc ; by [B]category [/B]and [B]alphabeticaly[/B]-desc, asc the retrieved content …

Member Avatar for karuppasamy
0
117
Member Avatar for genki01

I'm not sure if this is the right place as I'm referencing JS. I'm new this but I'm trying to learn. Right now I'm using a script on a page, where the link will resize the window to a certain size. [CODE] <SCRIPT> <!-- function cont() { window.resizeTo(900, 750); window.location="[COLOR="Green"]redirect.php[/COLOR]"; …

Member Avatar for almostbob
0
204
Member Avatar for cjay175

Hi there, I am in need of help, I would like to know how to create a link that when clicked it will change the order a list is displayed. Specifically in wordpress when using a codex to display posts. [B]How would I create a link or dropmenu that can …

Member Avatar for yahyaayob
0
370
Member Avatar for bears38

Hi, I am trying to update fields in my database through the use of textboxes in which when information is typed into them it will update the fields in the database. In addition I would like to use a combo box to select the appropriate field to update when I …

0
50

The End.