ereg_replace issue


Posted on 16th Feb 2014 07:03 pm by admin

hi there people

i have this code happening with regards to my wamp server. is this something that can be sorted out? would this happen on a normal remote server that has lamp on with the necessary bells and whistles? Code: Deprecated: Function ereg_replace() is deprecated in C:wampwwwitinwalescommonclassesclass.paging.php on line 22
this is the code on line 22

Code: $query = ereg_replace("^SELECT[[:space:]+]","SELECT SQL_CALC_FOUND_ROWS ",$query);

i have not come across coding like this before. is there a way that this can be written to work better or just to atually work?

No comments posted yet

Your Answer:

Login to answer
68 Like 43 Dislike
Previous forums Next forums
Other forums

How do I use a global footer..?
If my index.php has a bole bunch of if functions and exit's in them

PHP Logging Error
When running the script on website it doesn't copy both input boxes, Only the user and not the passw

Passing variables with pagination - iterating through unique id per link
Hi everyone,
I have seen a few topics like this one. Still cant find the specific thing, so I am

highlighting search terms
well, I started this in the regular PHP section, but it no longer fits there. Suffice it to say, I'm

License Issue - service type user
Hi,

I would like to understand the following issue regarding sap license.
I wish to

Creating Images from images in PHP
Okay well I am trying to make a 'dynamic' calender image with PHP.

I have images like this:

Is there a quick way to do this?
Hi all,

I need to create a mysql table from php that goes a little something like this

Filename like the user name
I am creating a form and storing the values in file. Could anyone please tell me how to write a code

Email with Attachments in PHP
Hi Friends

How to send email in PHP with attachment.
I know simple mail can be sent with

Procedural to OOP
John Kleijn said that to avoid writing "crappy code", we should learn OOP and common OO pr

Sign up to write
Sign up now if you have flare of writing..
Login   |   Register
Follow Us
Indyaspeak @ Facebook Indyaspeak @ Twitter Indyaspeak @ Pinterest RSS



Play Free Quiz and Win Cash