|
DaniWeb IT Discussion Community - PHP
|
Our PHP forum is the place for Q&A-style discussions related to this popular development language. LAMP programmers will appreciate our separate Apache forum, within the Networking sub-category of the Hardware and Software category, and MySQL forum, also within the Web Development category.
|
-
PHP code within PHP echo
I am making my own CMS website and the body content is echoed onto the page however some of the page content is php code but the actual code is echoed out. How can i make it so that it works properly.
Code:
-
Fatal error: Call to undefined function write_log()
Fatal error: Call to undefined function write_log() in /home/poetryba/public_html/install/inc/class.sql_import.php on line 105
here is my code
-
Paypal Integration Using API
hi, all friends
i need PAYPAL INTEGRATION USING API Toturial..
-
How to style PRINT or ECHO statement?
PHP Syntax (
-
im getting a php warning error
im trying to install my youtube clone script i brought from Vshare.com on my server and this is the error message i keep getting.
Warning: fopen(../include/config.php) [function.fopen]: failed to open stream: Is a directory in /home/poetryba/public_html/install/install_collect_info.php on line...
-
PHP Form Question...
Hey Guys,
I have a quick question. I want to make sure I am doing this right, according to my understanding of the PHP manual. Here's my question:
If I have an "address" input field for my form and a user inputs their address and then this information is passed to other php files to validate...
-
Checkbox referencing...
hey all.
Have a list of checkboxes with SQL data in table. Currently using echo to ensure I'm using the correct data, however, echo it returning the last checkbox data only. Here is a segment of what I've got.
-
Strategy for Max Characters in 1 Line of Text
I'm looking to display only 1 line of text from a source where characters range from 0-255. I do not want the text to exceed 1 line, and if it would, I want to truncate and display "...". What is the best way to determine if text will exceed 1 line? I tried testing by seeing how many 'W' characters...
-
Dynamic Array - Putting two array()s together.
I am fairly new to PHP-MYsql and HTML programming. So Please bear with me,
I'm trying to create a function which will produce an array of 'Fields in a Table' and combine that array with an array of 'Column Headings' to produce an associative array like this;
$labels= array('IDno' => 'Id...
-
forms
i have 3 form on a page and unfortunately i am not allowed to change that. the problem is when the third form is submitted, i would need to grab the data displayed from the second form to update the database incase the user changed anything on it. does anyone have any idea how i can trigger a...
-
Mail script help!
Hi guys,
I recently bought a template for a site that has an e-mail alert option. But I can't seem to figure out where I'm supposed to put my e-mail address so that I receive the e-mails. The code below is the only file associated with the e-mail form that came with the template. It calls on a...
-
Updating db
Hi
I tryed this code as it is and I have just modifyed the connexion parameters but it does'nt work correctly. each time I get the same resul and there is no modification in my database.
Could anyone help me please
Thnx a lot
---Quote (Originally by R0bb0b)---
Try this
-
Checkbox select all
Hi Everyone,
i have a query regarding checkboxes.
i have got a 'check all' checkbox on my form but what i need is to uncheck all if the check all is not checked
This is the check all script
-
MVC access control
Hi
I spent the morning hacking together the basic components of my own MVC framework, which currently only parses a url, loads the class and calls the right method...
Because I obviously dont want someone to be able to access the 'add/remove' methods associated with future classes, i need to...
-
How to store IP and Block it?
Hello,
Any way of when a customer goes to www.domain.com/testtest
it stores the IP and then it automatically block that? or give me the opertunity to block it by htaccess?
Thank you
|