39,326 Topics
| |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
hi! can u help me regarding on how to create statistical graph using php? | |
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. … | |
how to insert time in database in php such as 10:12 am 01:05 pm | |
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 … | |
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 = … | |
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. | |
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 … | |
i am new to JIRA i did not find JIRA category dats y asking question here how can i deploy JIRA on my server???? | |
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 ? | |
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!!!! | |
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 … | |
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 … | |
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) { … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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! | |
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 | |
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 … | |
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 … | |
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) … |
The End.