39,326 Topics

Member Avatar for
Member Avatar for Hani1991

Hello everyone, I've read, in the manual of PHP, about this function, i.e. quotemeta(string $str). This function [QUOTE]Returns a version of str with a backslash character (\) before every character that is among these: . \ + * ? [ ^ ] ( $ )[/QUOTE] Now, I understand what it …

Member Avatar for Hani1991
0
127
Member Avatar for staticwave

Hi, I am very new to working with php and I need a little help getting the fields from my form divided into two rows and properly aligned when output to the user. [B]Function:[/B] This is a Client Profile type of program. A form is displayed to the user and …

Member Avatar for staticwave
0
403
Member Avatar for erik216

I want to write a script if database no this record. It will insert If database have tis reord. It will update [CODE]for ($a=0; $a<count($arr_event_id); $a++) { $query1 = "SELECT evnt_id FROM sales_roadshow WHERE evnt_id = '".$arr_event_id[$a]."' "; $result1 = mysql_query($query1) or die(mysql_error()); $row_s1 = mysql_fetch_row($result1); $P_numrows1 = mysql_num_rows($result1); if …

Member Avatar for urtrivedi
0
140
Member Avatar for SolidSora

I want to update a table based on what a user enters. I know I got the username and password correct. But I keep getting an error based on my debugging code. I'm connecting to the database successfully, but it's just not updating. The variables print into the page, so …

Member Avatar for dashawk
0
107
Member Avatar for patrickm129

Hi all, I hope you're having a good day. I'm 15 and as a way to earn some money this this year I am thinking of starting a small web development business. I have knowledge in HTML (4 and 5), CSS (2 and 3), PHP 5, SQL, and some knowledge …

Member Avatar for Clanstrom
0
515
Member Avatar for Adjoa

THIS IS THE FUNCTIONS FILE [CODE]<?php function pf_script_with_get($script) { $page = $script; $page = $page . "?"; foreach($_GET as $key => $val) { $page = $page . $key . "=" . $val . "&"; } return substr($page, 0, strlen($page)-1); } ?> <?php session_start(); require("Config.php"); require("Functions.php"); //Determine if the user is …

Member Avatar for chrishea
0
182
Member Avatar for garymae14
Member Avatar for Ezzaral
0
129
Member Avatar for s0bigg

I have a MySQL database that has a list of items which gets updated everyday. The database is truncated everyday and filled back with the recent posts. After it is filled out, I need an automatic system that will send out the emails to users who have provided certain keyword. …

Member Avatar for s0bigg
0
106
Member Avatar for rajeevbu
Member Avatar for PixelatedKarma

Hey guys and gals, In my ongoing php experiments I'm trying to build a script and what I would like to do is make a group of links(they will be static) ie.... <a href="index.php">Index</a> <a href="about.php">About</a> <a href="etc.php">Etc</a> But the twist to this is I want it so that they …

Member Avatar for PixelatedKarma
0
129
Member Avatar for whiteyoh

Hi all, I have a multidimentional array that i need converting to a single array on the fly. to do this i use the following function. I need it to be changed to return the key name rather than setting it to a value [code] function array_values_recursive($ary) { $lst = …

Member Avatar for cereal
0
66
Member Avatar for topsege2007

I have a php script that i use to send mails to lists of emails in my database, but the mail appears in text form only. Now i want my subscribers to get their mails in HTML format. Please help me out.

Member Avatar for cereal
0
108
Member Avatar for 54uydf

I have 3 tables in DB, m..m relation table1: [U]id1[/U], a,b,c... table2: [U]id2[/U], x, y .. table3: [U]id1[/U], [U]id2[/U] I'm inserting new rows to table1 using a form, and the P. key field is set to AUTO_INCR, because there's no other property that can be meaningful enough to distinguish between …

Member Avatar for 54uydf
0
143
Member Avatar for baig772

i am new to JIRA i did not find JIRA category dats y asking question here how can i deploy JIRA on my server????

Member Avatar for sl_bart
0
75
Member Avatar for mwenyenia07

i have created an application which is supposed to check database after every 20 minutes to get some new data and respond accordingly. how do i implement this regular checks ?

Member Avatar for paulrajj
0
111
Member Avatar for anupama385

I have two textboxes and when I enter values in them, I want them to be displayed on the screen(not in a pop up window)...plz help me out!!!!

Member Avatar for digwnews
0
102
Member Avatar for gilgil2

Hi I am trying to include the code xta into this below url, it works with other parts on the page, but there is something to do with this URL that appears to stop it working. Would anyone be able to tell me why xta does not get inserted where …

Member Avatar for almostbob
0
253
Member Avatar for spawn2004

Hi everybody, i want to ask for help. I have a website and i will write a php soure code for uploadding files. Let's say i or user upload powerpoint presentations and need to be open in a window in the site when somebody choose the link.Can anyone tell me …

Member Avatar for digwnews
0
89
Member Avatar for bharanidharanit

hi, I hav a created a field with unique constraint, so if it got duplicated error must be returned from procedure. Wats wrong here? [CODE] $dbconn = new DbConn; $dbc = $dbconn->Fn_CreateDbConn(); $Qry = $dbc->prepare("CALL CMS_School_Insert(:SchoolID,:SchoolName)"); $Qry -> bindParam(":SchoolID",$SchoolID); $Qry -> bindParam(":SchoolName",$SchoolName); try { $Qry -> execute(); }catch(PDOException $e) { …

Member Avatar for pritaeas
0
63
Member Avatar for nyo_rady

Hi dear all in Dani web I am the beginner of cakephp and i want to ask somthing about cakephp default interface I have installed cakephp in my web server and connected with database already but my interface just don't seem the same like cakephp default interface .. could you …

0
48
Member Avatar for uselessninja

hi ...i have a problem connecting MSSQL 2005 express and php.. i've tried configuring the php.ini by removing the ; in extension=php_mssql.dll but not working i also place the php_mssql.dll on ext folder but not working again; and also i tried downloading an old ntwdblib.dll and placing it in system32 …

Member Avatar for uselessninja
0
181
Member Avatar for spivey

I need to update database table fields that contain URLs based on evaluation of the those URLs. Specifically, I need to eliminate the empty the fields of any URL that contains the directory "img_ours", and I need to take any URL that contain UPCs and change the URL formula, but …

Member Avatar for rpv_sen
0
145
Member Avatar for youvi
Member Avatar for nigelsponge

Hi, I am using a $get function to get a variable from the URL as my page subtitle. It works fine except if the variable has an apostrophe in it. Then the title has a backslash in front of the apostrophe (probably to escape that apostrophe). Not sure how to …

Member Avatar for coolest_987
0
196
Member Avatar for PinoyDev

I am having problem regarding fixing my php content page with some css. I have a page which is 980px with..I want to put an image with 70 in height and 141 in width. But i want this image to be right align...I currently have the following css but when …

Member Avatar for PinoyDev
0
111
Member Avatar for PinoyDev

Good day! I am having a little problem regarding clearing sessions. I have a link named LOGOUT in php.. when this link is click, I want to clear and detroy all sessions and redirect the user to index.php page. thank you for helping!

Member Avatar for PinoyDev
0
106
Member Avatar for Stefan_Lam88

Anyone know what is the root cause unable to open the connection in php? [CODE]CDbConnection failed to open the DB connection.[/CODE] I m having trouble connecting to mssql server connection..in yiiframework

Member Avatar for chrishea
0
146
Member Avatar for demo7up

I need help building a script to pull a random image from an rss feed and echo it out.... I just need something that searches the rss feed and pulls a random image from it! Thanks I was trying to work with this script but it only pulls text also …

Member Avatar for cereal
0
333
Member Avatar for phorce

Hello, I want to build a system that allows me to print a document (from a input field) and it prints at my home. Basically, if I'm out I have an input box that if I upload a file to it, it will print for when I get home. Same …

Member Avatar for cereal
0
106
Member Avatar for shetrick

Hi, I need some help. I have data in a table (cust) and one of the columns has multiple values in it (cat_id). I need to use those values to select data (cat_name) from a second table (cat) and display this with the data from the first table where (cat_id) …

0
69

The End.