39,393 Topics
![]() | |
At some point around 8:30 this morning I am just noticing that the imagerotate function is no longer working on our server. This is a dedicated server so I have full control over it. Looking at PHPINFO I show that the GD Library is installed and enabled. Anyone have any … | |
I'm new to PHP and I'm some trouble writing to multiple tables from the same form. When I run the following script it will not write the data to XINFO but it will write to ATTRIB1. If I take ATTRIB1 out of the script it will work properly and once … | |
Hello! All, "Error in my_thread_global_end(): 1 threads didn't exit " I got this error when i m trying to access my site........ i m web developer so i hvan't any access to change in core part of PHP and MYSQL........ :sad: what should i do?????? :?: Please anybody help me … | |
Hi I have installed Joomla and a plugin called sh404SEF. The plugin is to make sef url. My site was not using .htaccess file so my url was : [QUOTE][url]http://www.loyalindia.com/index.php?/Some-Section/newssection?itemid=125&mid=125[/url][/QUOTE] Now I have enabled .htaccess supprt and now my urls are like this : [QUOTE][url]http://www.loyalindia.com/Some-Section/newssection?itemid=125&mid=125[/url] [/QUOTE] As you see the … | |
I have a table called "Ev_Songs" which has these columns: id (Primary) id_Event (int) id_Song (int) Pos (int) This table hold selected songs for a song set for an event. So if I have an Event thats id=3 there might be 5 songs selected as the set for that event: … | |
As the title says, here is the code : [code=php]<?php $lvl=1; $xp=0; if ($xp <50) { echo $lvl ; }; if ($xp >51) { echo $lvl+1; } return $lvl; if ($xp >101) { echo $lvl+1; }; ?> <form action="<?php echo $_SERVER['PHP_SELF']; ?>" method="post"> Xp : <input name="xp" type="text" /> <input … | |
Hi guys, This may seem a little simple, but I'm new to html/php programming so here goes I have a listbox with six items on my page. I would like to call a different php file depending on what option was selected psudo code would be if selection = 1 … | |
I have a script to crawl all link but in homepage..That can crawl internal n external link.. But that's just the matter. I want to crawl all internal link in all pages please tell me how to do it.. Here is all that I've got : [CODE] <?php if (isset($_POST['url'])) … | |
Hello Guys, I would like to know if its possible or not, where i can have a text box which when i enter the ID and press submit it gets the email matching that ID. and sends an email, please note that i know how to send email, i just … | |
[code] <html> <head> <title>Grade Calculator</title> </head> <?php ?> <body> <?php $grade = $_POST["Quiz1"] * 0.05 + $_POST["Mid-Term"] * 0.30 + $_POST["Quiz2"] * 0.05 + $_POST["AL1"] * 0.05 + $_POST["AL2"] * 0.05 + $_POST["Participation"] * 0.10 + $_POST["Final"] * 0.40 ; ?> <?php echo "Grade Report: <br />"; echo "<br />"; … | |
hi i am developing a website where i am using a pagination code . i want to display the result of the candidate from table[COLOR="Red"] record_result [/COLOR] on the basis of certain time period given by admin. that is my code... [CODE] <?php include 'mysql-connect.php'; // how many rows to … | |
hi guyaving the following problem, im having the following problems. Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 3264 bytes) in C:\xampp\xampp\htdocs\bestbuy\includes\SimpleImage.php on line 32 Y i am getting this error as the file isnt bigger? when i try to upload file >2mb i get that … | |
hi, I am using a live search snippet from "[URL="http://www.dynamicajax.com/fr/Suggest_Frontend-271_290_312_313.html"]http://www.dynamicajax.com/fr/Suggest_Frontend-271_290_312_313.html[/URL]". I started connecting it to my code, but i need help with expanding the search. It currently only searches for one field in the DB, but i want it to search more than one field from a table in the … | |
I need to manipulate two tables(in different DB) to print out data, what's the effective way to do that in php code? [ICODE] $conn = mssql_connect($intraserver, $intrauser, $intrapass); $db=mssql_select_db($intradb, $conn); $result0=mssql_query("select a from tb1");// in $db for ($i = 0; $i < @mssql_num_rows( $result0 ); ++$i) { $line = @mssql_fetch_row($result0); … | |
I ask because I am currently developing a forum. I just wonder how good my knowledge of web development and PHP in particular is. And also, have you ever tried to sell it? =) | |
Does PHP have a built in function that will allow me to find the size of a 2D array without having to first having to loop through the array and hitting a NULL (C style) When i say size i mean the number or rows in a 2D array. many … | |
Hi, All when I insert the date in MySQL the format is 2009/07/13 and when I use SELELCT query it shows in the same format 2009/07/13. But I need to show in the Format 13-Jul-2009. [CODE]$result = mysql_query("SELECT Date FROM leaseentry WHERE SiteId REGEXP '$a'");[/CODE] Please guide me. | |
Hi im getting this error, Notice: Undefined index: news_comments in /home/southame/public_html/files/includes/theme_functions_include.php on line 124 was trying to edit a few files on my site here is the code. [code] } else { opentable($locale['global_077']); echo "<div style='text-align:center'><br />\n".$locale['global_078']."<br /><br />\n</div>\n"; closetable(); [B] }[/B] [B]} else {[/B] include INCLUDES."comments_include.php";[/code] Line 124 and … | |
Hi I want to have a tag cloud on my site, and would like to know if there are free scripts for tag cloud and how much customization is involved (I'm a bit tech-challenged). Thanks, Assaf | |
What are your favorite free PHP scripts? Do you know any places that have a directory/database of free PHP scripts or something of the sort? ![]() | |
Hello, I have a few Text Area input fields when I want to allow my users to enter text with hard returns. On my process page, I am using: [CODE]$Note = addslashes(nl2br($_POST['Note']));[/CODE] to convert the strings to be able to be pushed to my mySQL DB. This functions great. I, … | |
Here is the error I recieve: Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /home1/edubnini/public_html/mysql_db_size.php on line 1 Here is the output of the script: [url]http://www.edub9intl.com/mysql_db_size.php[/url] [code] <?php /* ================================================================================ MySQL Database size reporter Version 1.0.0 --- Displays all MySQL databases with their size and privileges. … | |
I need to know how to copy name and email address from many databases to another (eg. phplist) via php script. Thanks in advance, Edub9 | |
I need help with using php to dislplay data from a firebird database. I've tried various methods but no success so far. My latest attempt has been to try PHP Generator. I get indications that it should work, but it falls short of displaying the data. Here is a sample … | |
I was hoping someone could help me with this. Here is my web site: [url]http://ectech.info/[/url] The footer of this site that shows my copyright moves around, depending on your monitor resolution, and does not stay centered with the page itself. The footer information is show in the page source. Can … | |
hi pals, Im doing in-home project such that a document is being generated on the values i give in html document. how can i include header and footer for the word document by php code . MY cod for generating document is <?php $str=$_POST['client_name'].".doc"; header("Content-Type: application/vnd.ms-word"); header("content-disposition: attachment;filename=$str");?> <html> <body … | |
Hey Guys, Didn't know where else to post this. So i have a table called portfolio and in this table are 6 fields(id, image, project, location, description and category) which already have information in them(79 rows). There are 11 categories which need their own position number so i added another … | |
Hi, I have got some code that allows me to click an image map link that then changes text in a DIV further down the page though this is only doing plain text and i can't get it to write in links can any one help with the code???? Cheers … | |
I have an html page. when you click a button, an AJAX function will call a php page (like register.php). That page contains a form. the URL is index.html and doesn't change to register.php because I called the PHP page through AJAX Now that problem is: when I click the … |
The End.